When deploying a software application, how certain is your organization that it has been thoroughly tested. Have all of the edge cases been adequately tested, or only the "happy paths"? Code coverage is a low impact way to determine exactly how complete your application testing is, and it can be used across the entire application life-cycle from single developer testing through to final release testing.
- Code coverage is the only reliable metric for testing completeness.
- Coverage analysis is mandated for mission and safety-critical applications such as: military, aerospace, railway, and automotive
Ensure complete system testing with code coverage analysis
System Testing, sometimes called Functional Testing, is the process whereby organizations test an application to ensure that it is functionally correct. That is, that it will perform properly when used by the end user. This type of testing may be performed manually, or with the help of scripts. All organizations that develop software perform system testing prior to release. The challenge with system testing is to ensure that the testing is complete. To this end, organizations will develop test procedures that map to the written requirements for the application (if available) or that map to the user documentation. This type of testing will exercise nominal paths through the code, but is unlikely to test boundary, or error conditions. In fact, when organizations first adopt VectorCAST/Cover it very often surprising to them that their system test cases provide only sixty or seventy percent code coverage.
The only way to ensure that system testing is complete is to collect and analyze the code coverage data during testing. VectorCAST/Cover allows you to easily accumulate code coverage metrics during system testing, even on embedded targets. This allows you determine which parts of the application have been executed by each system test, and more importantly, which parts of the application have not been executed by any test.
VectorCAST/Cover supports multiple use cases
Any testing that an organization performs can benefit from code coverage analysis. VectorCAST/Cover is compatible with all test methodologies, including manual testing, custom test environments, and open-source testing using tools like cunit or cppunit.