[solved] Unit test of single plugin?


#1

Spending some time with my mosaic plugin again and I thought it will be a good idea to start with unit-testing.
Is there a way to perform just the testing for one module?

python setup.py test … ?

Have not found an option so far. It’s hard to watch the result of a particular module because the whole set of tests flood the console.


#2

Hello! My favorite way to do this is with Nose. Just type nosetests test/test_foo.py to run a specific tests file.