More about Testing

Learn about property-based testing and mutation testing.

We now know how to test our code, think about our design in terms of how it is going to be tested, and configure the tools in our project to run the automated tests that will give us some degree of confidence regarding the quality of the software we have written.

If our confidence in the code is determined by the unit tests written on it, how do we know that they are enough? How could we be sure that we have been through enough on the test scenarios and that we are not missing some tests? Who says that these tests are correct? Meaning, who tests the tests?

The first part of the question, about being thorough in terms of the tests we write, is answered by going beyond in our testing efforts through property-based testing.

Get hands-on with 1200+ tech skills courses.