| 1 |
|
| 2 |
# Test cases of pencil |
| 3 |
|
| 4 |
This folder contains test cases for the pencil component. |
| 5 |
|
| 6 |
Test cases are designed to execute fast, to be reproducible and to cover the provided functionality. |
| 7 |
|
| 8 |
## Test categories |
| 9 |
|
| 10 |
Test cases are stored based on their category: |
| 11 |
|
| 12 |
- unit |
| 13 |
- test scope is the inner logic of a unit |
| 14 |
- verification criteria are stated in the doxygen description of the function, |
| 15 |
its parameters and return values |
| 16 |
- trigger and observation points are at the interfaces of the unit |
| 17 |
- dependencies to other, unit-external sotware should be minimal |
| 18 |
- integration |
| 19 |
- test scope is the interface between two or more units or bigger software modules |
| 20 |
- trigger and observation points are at the interfaces of the units under test |
| 21 |
- qualification (stored at [../../build/qualification_test](../../build/qualification_test) ) |
| 22 |
- test scope is the integrated application |
| 23 |
- trigger and observation points are at the interfaces of the application |
| 24 |
|
| 25 |
In case of contradicting criteria, the test scope precedes. |
| 26 |
|
| 27 |
## Test goal |
| 28 |
|
| 29 |
- unit and integration tests shall cover 100% lines of source code |