pytest tests/test_api.py::TestClass::test_method

Category: Python & pip

pytest tests/test_api.py::TestClass::test_method

Run a single specific test by node ID

Runs a single specific test by its full path (file::class::method). Great for re-running one failing test.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.