This is a sandbox repository for exploring testing concepts like mocking, fixtures, parameterization and more using pytest.
The goal of this repo is not to build any product, but to intentionally design smaller utils or algorithms that can have errors, and hence can be tested.
My primary motivation to start this repo was to understand why tests are written in a certain way, not just how to write them.
Some testing patterns explored in this repository are inspired by:
- Python Testing with pytest by Brian Okken
The aim is to apply these concepts independently and adapt them to custom ideas rather than directly replicating them.