
Multilevel Testing for Embedded Systems 289
TABLE 11.1
Test specification for the automated light
control function
TC
1
: Headlights ON/OFF switching
Test levels: 1, 2, 3, 4
Step Actions Pass Conditions
1 Set switch to ON headlights = ON
2 Set switch to OFF headlights = OFF
TC
2
: Headlights automatic ON/OFF
Test levels: 1, 2, 3, 4
Step Actions Pass Conditions
1 Set switch to AUT O -
2 Set illumination to LIGHT headlights = OFF
3 Set illumination to DARK headlights = ON
4 Set illumination to LIGHT headlights = OFF
TC
3
: Headlights ON—switch CAN timeout
Test levels: 1, 2, 3
Step Actions Pass Conditions
1 Set switch to OFF headlights = OFF
2 CAN timeout headlights =