nose2

Skip a unit test from a Nose2 Plugin

Skip a unit test from a Nose2 Plugin Question: I’m having trouble actually skipping a unit test from a Nose2 plugin. I am able to mark the test skipped and see the reason in the final result, but the test still runs. This example code should basically skip any test, as long as the plugin …

Total answers: 2

How to run specific test in Nose2

How to run specific test in Nose2 Question: In previous version of Nose testing framework, there were several ways to specify only a subset of all tests: nosetests test.module nosetests another.test:TestCase.test_method nosetests a.test:TestCase nosetests /path/to/test/file.py:test_function http://nose.readthedocs.org/en/latest/usage.html#selecting-tests However, I can’t find any information about similar test selection in Nose2. There’s a mention in docs about different …

Total answers: 3