Tools / Testing
pytest
The standard way to write tests in Python. Plain asserts, fixtures and parametrised tests.
About 6 hours of study. It builds on Programming in Python.
Where to learn it
The pytest developers
Get Started, then the how-to guides on fixtures and parametrizing
No practice set picked yet.
Suggest oneWrong chapter, dead link, or know something better? Tell us on GitHub.
Your route to pytest
Pick where you’re starting from. Anything your background already covers is left out, and the rest is put in order.
2 stops to go, about 46 hours of study.
Open a stop to see the book, the video course and the practice for it. Tick its circle when you've finished.
- 40 h
Programming. Ready to start.
- Tool6 h
Programming. After Programming in Python.
That's the whole route to pytest.
What it needs and what it leads to: pytest on the map.