pytest_unittest plugin

automatically discover and run traditional "unittest.py" style tests.

Usage

This plugin collects and runs Python unittest.py style tests. It will automatically collect unittest.TestCase subclasses and their test methods from the test modules of a project (usually following the test_*.py pattern).

This plugin is enabled by default.

Start improving this plugin in 30 seconds

  1. Download pytest_unittest.py plugin source code
  2. put it somewhere as pytest_unittest.py into your import path
  3. a subsequent py.test run will use your local version

Checkout customize, other plugins or get in contact.