February 2022
Intermediate to advanced
274 pages
6h 28m
English
Test failures happen. If they didn’t, tests wouldn’t be much use. What we do when tests fail is what counts. When tests fail, we need to figure out why. It might be the test or it might be the application. The process of determining where the problem lies and what to do about it is similar.
Integrated development environments (IDEs) and many text editors have graphical debuggers built right in. These tools are incredibly helpful for debugging, allowing us to add breakpoints, step through code, look at variable values, and much more. However, pytest also provides many tools that may help you solve the problem faster, without having to reach for a debugger. There are also times when IDEs may be difficult to use, ...
Read now
Unlock full access