6. Final
Now you can do professional testing of your projects at different levels: unit tests with Given-When-Then, the TDD flow, doubles to isolate the outside world and E2E tests in the browser.
You've seen everything illustrated with Python and pytest, but remember: the patterns are universal. Change the syntax and the tools according to your ecosystem, the philosophy doesn't move.
If you want to go deeper, I have two articles that expand on this course:
- Testing techniques and tools in Python with pytest: advanced fixtures, data generation with
fakerandhypothesis, HTTP mocking, snapshot testing and more. - Learn how to structure a test: the Given-When-Then pattern in depth and how to document the cases before writing code.
Each tool has its particularities, advantages and disadvantages. But they all share the same philosophy. Now it's your turn to apply it.
This work is under a Attribution-NonCommercial-NoDerivatives 4.0 International license.
Desafíos de programación atemporales y multiparadigmáticos
Te encuentras ante un librillo de actividades, divididas en 2 niveles de dificultad. Te enfrentarás a los casos más comunes que te puedes encontrar en pruebas técnicas o aprender conceptos elementales de programación.
Buy the bookWill you buy me a coffee?
This is how I keep writing without ads or paywalls.
Sure, it's on me!
Comments
There are no comments yet.