The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.