Assertions
The building block of testing.
Testing is integral to all forms of engineering. Software developers often write as much test code as they do product code! This set of labs introduces testing concepts and automated testing.
The building block of testing.
Using assertions to test a file.
Organizing the test code has benefits, just like organizing program code.
A simple but powerful analysis technique for understanding execution paths through source code.
Use a test framework, pytest, to run tests and collect results.
How to test for expected exceptions.
Computing an objective measure of test quality.