Testing your Python Code with PyTest | Scipy 2019 Tutorial | John Leeman, Ryan May



Every developer has heard the saying that “untested software is broken software.” In this tutorial we will show you the best practices for software testing in Python using the pytest framework. Learners will write tests for several existing functions in a provided library, including testing strings, integers, floats, lists, and arrays. We will also use the pytest-mpl library to test matplotlib plotting functions with image comparison. Topics such as test fixtures, parameterization, and…

, , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *