pytest Guide
Contents:
- Introduction to pytest
- Pytest Tips and Tricks
- Running Specific Tests
- Stopping on Failures
- Rerunning Failed Tests
- Running Tests in Parallel
- Debugging
- Capturing Output
- Suppressing Warnings
- Verbose Test Output
- Handling Unstable Tests
- Skipping and Expected Failures
- Using Fixtures Efficiently
- Testing Exceptions
- Parameterized Tests
- Code Coverage
- Generate Test Reports
- Customizing Traceback Output
- List all fixtures and markers
- Print test runtimes
- Customizing Pytest with
pytest.ini
unittestLifecycle Functions