February 2022
Intermediate to advanced
274 pages
6h 28m
English
In this chapter, we looked at how to use pytest and tox to test scripts and applications. In the context of this chapter, script refers to a Python file that is run directly, as in python my_script.py, and application refers to a Python script or larger application that requires dependencies to be installed with requirements.txt.
In addition, you learned several techniques for testing scripts and applications:
Read now
Unlock full access