Chapter 4 Flashcards
1
Q
What are unit tests?
A
Test individual components for functionality
Self contained
Run frequently during development
Should be able to write tests before implementation of code
2
Q
What is CUnit
A
CUnit is a lightweight framework for writing administering and running tests in C
3
Q
What is Gcov?
A
Gcov is a test coverage program
4
Q
TDD advantages
A
Focus on function of code before implementation
Forces a programmer to implement best practice in terms of unit testing
Improved code coverage of unit test suite
Feedback to programmer on implementation is fast
5
Q
4 strategies for integration testing
A
Big bang
Bottom up
Top down
Sandwich