Closed gregoryross closed 7 years ago
@marscher points out that nosetests
is no longer being maintain, and pytest
is a more modern framework.
While nosetests
support will end, don't forget nose2: http://nose2.readthedocs.io/en/latest/
I came across this website, looks really helpful. http://pythontesting.net/start-here/
Here's another good site: http://docs.python-guide.org/en/latest/writing/tests/
It would also be helpful to setting on a particular testing framework for the lab. I personally like pytest
.
The hitchhikers guide (mentioned by Greg above) is probably my favorite guide on python tests.
Drafted in #27
@gregoryross (with help from @bas-rustenburg) to address:
tests/test_function.py
)pytests
,nose
)