Team Skill 6: Building the Right System

   

HOLIS Sample Test Case 01: Test Control Light

R EVISION H ISTORY

Date

Revision

Description

Author

4/14/03

1.0

First draft

Luis R.

4/15/03

1.1

Correction to increase/decrease rate

Bob S.

       
Description

This test case, used to test instances of the use case Control Light, is used only to test dim-enabled Control Switch buttons that have been preassigned to a light bank.

Note

Run the test case multiple times and with different lengths of hold-button time to verify that the system is restoring OnLevel properly.


Test Case ID

Scenario

Description

Condition: Button Pressed < Timer Period

Condition: Button Pressed > Timer Period

Condition: Button Released After Being Held

Condition

Expected Result

1

1

Basic flow: Resident releases button before timer period ends

< 1 sec. in .1-sec. intervals

I

N/A

Light on

Light goes off

2

1

Basic flow: Resident releases button before timer period ends

< 1 sec. in .1-sec. intervals

I

N/A

Light off

Light goes on

3

2

Alternate flow: Resident continuously presses button for longer than timer period

I

1 “60 sec.

N/A

N/A

Light level goes up and down continuously

4

3

Resident releases switch after continuously pressing button

I

I

V

N/A

Light stays at last brightness

HOLIS Sample Test Case 02: Test Round-Trip Message Protocol

R EVISION H ISTORY

Date

Revision

Description

Author

4/14/03

1.0

First draft

Adrienne

       
       
Description

This test case tests the round-trip message protocol between the CCU and the Control Switch according to the requirements defined in the CCU Supplementary Specification. This test case tests the following requirements from the CCU and Control Switch Supplementary Specifications.

CCU Supplementary Specs

Control Switch Supplementary Specs

SR4, SR4.1, SR4.2, SR4.3, SR4.4

CSSR88, CSSR91 “97, CSSR100 “107 [*]

[*] Note to file: The table above can be deleted after the traceability matrix is established. To minimize maintenance, the trace matrix is the only place we will maintain these links.

Events

Test Case ID

Event Description

Input 1

Input 2

Expected Result

5300

Press switch button 0 on Control Switch 1 and initiate message from CS to CCU.

Button only

 

CCU message-received indicator is lit, and CS message-received indicator is lit.

5301

Examine received message in diagnostic line of CCU display.

   

[01][01][01][5A]

5302

Examine sent message in CCU display.

   

[55][FF][01][F7]

5303

Press Control Switch buttons 0 “5 simultaneously and hold for 3 seconds.

All buttons depressed 3+ seconds

 

CCU message-received indicator is lit. Three messages should be in the message display buffer.

 

Examine message 1.

   

[01][01][3F][3C]

 

(Remainder of test case deleted for brevity.)

     
   


Managing Software Requirements[c] A Use Case Approach
Managing Software Requirements[c] A Use Case Approach
ISBN: 032112247X
EAN: N/A
Year: 2003
Pages: 257

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net