python -m unittest
TestingRun tests with unittest framework
Examples
Common usage examples
Discover and run all tests
python -m unittestRun specific test module
python -m unittest tests.test_moduleDiscover tests in current directory
python -m unittest discoverNotes
- Built-in testing framework, no installation needed
Related Commands
You might also find these useful