pytest: helps you write better programs — pytest documentation
https://pytest.orgpytest: helps you write better programs ¶. pytest: helps you write better programs. ¶. The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. An example of a simple test: # content of test_sample.py def inc(x): return x + 1 def test_answer(): assert inc(3) == 5.