Should we run the tests on Heroku?
Out of interest I tried heroku run python manage.py test --settings=microblog.settings.testing and of course got ImportError: No module named discover_runner, but it led me to wonder: should we run tests on the remote server?
As an aside, does anyone else see No runtime.txt provided; assuming python-2.7.4 when deploying to Heroku? I ask because my precise32 VM has Python 2.7.3
Thanks for any answers
Sorry You must be a logged in, registered user to answer a question.
Answers
No, I can't think of any reason to run the tests on the production server unless you develop a bug that only exhibits on production. Tests are for sanity and ease of refactor.
Not much changed between 2.7.3 and 2.7.4. If you're really worried about it, create a runtime.txt and set the Python runtime you'd like.
Thanks :)