Recently I went through a process of breaking a large django project into
smaller installable applications. Each smaller component could be reused from
within any number of django projects, but wasn’t a django project
itself. One of the issues I encountered was “What do I do with the unit
tests?” Using the standard
./manage.py test no longer worked for me because
my settings where in the master project.
I had heard of py.test, so this seemed like an opportunity to see if some of the py.test magic would work for me. Admittedly, I didn’t do a large amount of searching around for additional testing frameworks or processes…this was an excuse to try out the project. :)