Unit tests with the "check" tool
Unit tests are needed to make sure the library follows certain specifications. It will also ensure that working functions keep working the same way when they are modified. The "check" tool for unit testing C programs has been chosen to implement these unit tests. To each C source file in the library, there is an equivalent unit test C source file with a named derived from the original source. It is therefore easy to find a particular test.
We should be able to measure the code coverage of the tests with the gcov tool that comes with the gcc compiler.
Blueprint information
- Status:
- Started
- Approver:
- vanh souvanlasy
- Priority:
- High
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Michel Van Eeckhout
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Slow progress
- Milestone target:
- None
- Started by
- Michel Van Eeckhout
- Completed by
Whiteboard
A configure option will be added "--enable-
2010/11/26 Current assignee does not have time to pursue this further for the time being - need help.