Getting started basicsΒΆ
- pytest: helps you write better programs
- Installation and Getting Started
- Usage and Invocations
- Calling pytest through
python -m pytest
- Getting help on version, option names, environment variables
- Stopping after the first (or N) failures
- Specifying tests / selecting tests
- Modifying Python traceback printing
- Dropping to PDB (Python Debugger) on failures
- Setting a breakpoint / aka
set_trace()
- Profiling test execution duration
- Creating JUnitXML format files
- Creating resultlog format files
- Sending test report to online pastebin service
- Disabling plugins
- Calling pytest from Python code
- Calling pytest through
- Good Integration Practices
- Project examples
- Some Issues and Questions