background image

Run tests from the command line

cmd>

 python -m unittest test_module

cmd>

 python -m unittest module.TestClass

cmd>

 python -m unittest tests/test_module.py

Run all tests or just specific test.  Three ways:

Comments:

Unit Testing in Python

navigate_before navigate_next