Are Your Scenarios Sufficient?
Often it’s difficult to tell whether the characterization tests that you’ve written cover enough of the functionality of the application to give you confidence to go in and make changes safely. There are some tools that can help you decide how safe you should really be feeling. The last thing we want is a false sense of security leading to uncaught regressions being delivered to our customer.
Code Coverage
Code coverage tools allow us to discover which specific lines of code in the system were executed during a test. When you are starting to add tests to a legacy application, it can be useful to know your code coverage:
-
If you know that a line of code isn’t covered by your tests yet, you can see more clearly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access