Error Detection And Handling Flashcards
1
Q
Statement coverage
A
Percentage of statements exercised by tests
2
Q
Branch coverage
A
Percentage of branches executed by tests e.g. if/else branches
3
Q
Loop coverage
A
When testing a loop you should ensure it works when executed 0, 1 and 2 times
4
Q
Buffer
A
Piece of memory for storing data temporarily while it is moved from one place to another
5
Q
std::cerr
A
Output stream like std::out designed to be used for error messages
6
Q
static_assert
A
assertion that is evaluated at compile time