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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is CUnit

A

CUnit is a lightweight framework for writing administering and running tests in C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Gcov?

A

Gcov is a test coverage program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

4 strategies for integration testing

A

Big bang
Bottom up
Top down
Sandwich

How well did you know this?
1
Not at all
2
3
4
5
Perfectly