Pytest with Marking, Mocking, and Fixtures in 10 Minutes
Write robust unit tests with Python pytest
Published in
9 min readJul 31, 2022
In my previous article on unit tests, I elaborated on the purpose of unit tests, unit test ecosystem, and best practices, and demonstrated basic and advanced examples with Python built-in unittest
package. There is more than one way (and more than one Python package) to perform unit tests, this…