Last Updated: February 20, 2016·
TDD in Python with Nosy and Sneazr
nosy runs nosetests every time a file is changed. Combined with Sneazr, you'll have a Growl notification indicating the state of your tests every time you make a change.
Installation is as simple as:
$ pip install nosy sneazr
Then, add a setup.cfg to pass options to nosy when it runs tests:
[nosy] base_path = ./ glob_patterns = *.py options = --with-sneazr
Rubyists will recognize this setup as autotest-growl.
Written by Brian Gesiak
Emulate do-while loop in Python
Have a fresh tip? Share with Coderwall community!
Post a tip
Best #Python Authors
Sponsored by #native_company# — Learn More