Chapter 4. AETest Test Infrastructure

You may have heard about testing code. Code testing allows you to verify your code produces the results you’re expecting. This is important, as it helps minimize, not remove, bugs in your code. Code testing also encapsulates the idea of regression testing. In the simplest terms, regression testing ensures new code updates do not introduce new bugs. Regression testing becomes more important as the codebase grows. The last concept you may hear about when it comes to testing code is code coverage. Code coverage is the amount of code in your codebase that is “covered” by a test. Many times, it’s assumed that more code coverage equals less bugs; however, that’s simply not true. Tests are only as good as they are ...

Get Cisco pyATS: Network Test and Automation Solution: Data-driven and reusable testing for modern networks 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.