.NET Code Analysis and Automated Testing

This section describes two scenarios that you may encounter when executing your tests that use code coverage. It also provides proper ways to structure your tests within an execution plan. The examples used in the following topics are specific to DevPartner Code Analysis, but the structure is similar for other code analysis tools. For example, you will have different startup/cleanup parameters in your execution plan.

Note: There may be a delay between starting the AUT and starting code analysis, which may lead to some of the start-up code of the AUT not being recorded by code analysis.

Automated Testing Workflow