4 ms·
* write unit tests (I find nosetests or pytest as the test runners most useful and mock incredibly helpful). * run unit tests and integration tests in an autom
by devnonymous 10y ago
* write unit tests (I find nosetests or pytest as the test runners most useful and mock incredibly helpful).
* run unit tests and integration tests in an automated manner for every commit. (a.k.a use tox, jenkins or somesuch...).
* Depending on the software you are creating deploy a chaos monkey[1] kinda approach for disaster/HA testing.
* Read up on good Python practices :
http://python-guide.readthedocs.io/en/latest/ http://python-guide.readthedocs.io/en/latest/
http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html http://python.net/~goodger/projects/pycon/2007/idiomatic/han...