introduce code coverage measurement for Certification/QA
In order to understand that validity of our automated testing, we should have a way to measure its code coverage.
A industry standard practice is to use a tool that pre-compiles the code to be tested with a set of instrumentation points designed to trace if the code is executed through all logic branches.
After testing the results obtained for the executed instrumentation points are compared against all inserted ones, hence providing a percentage of path been covered.
There are several code coverage measurements available but the most used are function and condition coverage
http://
Here is a tool example used within ltp:
http://
Code coverage measurements provide deterministic way to quantify improvements to test coverage and to identify areas of poor test coverage.
Blueprint information
- Status:
- Complete
- Approver:
- Victor Tuson Palau
- Priority:
- Undefined
- Drafter:
- Victor Tuson Palau
- Direction:
- Needs approval
- Assignee:
- Ameet Paranjape
- Definition:
- Approved
- Series goal:
- Accepted for natty
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Marjo F. Mercado
- Completed by
- Ameet Paranjape