- 100% test coverage of all functions
- 100% test coverage of all statements
- 100% test coverage of all branch conditions
- MC/DC coverage
Dana uses scripted automation tools such as VectorCAST for testing both off- and on-target. This allows for thorough test results and provides regression testing of future changes.
Unit tests are performed with industry-standard VectorCAST tools and can be executed on both a PC and on the target processor of the ECU. On-target testing provides the additional capability to detect portability issues that could arise within the code or even from the target compilers themselves.
Integration Test Code Coverage
In addition to measuring code coverage in unit tests, Dana measures code coverage on-target during integration testing. In these tests, the code is tested in the context of a complete application rather than as an isolated unit. This ensures that low level drivers, assembly code, and other code which interacts directly with the microcontroller is properly tested.
By looking at the combination of integration test coverage and unit test coverage, a complete picture of the total code coverage is achieved. Any gaps are then analyzed and new test cases are developed to provide complete testing coverage.