Chapter 11: Testing in Python
Every software development process includes testing, which is a fundamental step in ensuring that our code behaves as expected and to catch any bugs or unexpected behavior. Testing not only allows us to catch bugs early but also gives us the confidence to add new features or make changes to the existing codebase. This is because we can be certain that our code is working correctly, even as we continue to enhance and improve our programs.
In the Python world, we have several tools and libraries at our disposal to write tests for our code. These tools enable us to write different types of tests, including unit testing, integration testing, and more. In this chapter, we'll take a deep dive into the world of Python ...
Get Python and SQL Bible now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.