Key to Final Exam

Thanks to one student whose answers saved me a lot of time in getting this key together.

1. Activities and processes for each of the testing levels. The basic three activities of analyze what is to be tested, construct test software, execute and evaluate the results are repeated at each of the three levels. So each answer should be structured around that list.

CLASS TESTING

Note: Since this system must meet the D.O.T. regulations, it might be desirable to do a guided inspection before selecting testcases, to ensure the specifications are correct.

INTEGRATION TESTING

 

SYSTEM TESTING

 

 

2.

CLASS– Testing includes 3 types/coverages:

    1. functional – all-transitions (of state diagram)
    2. structural – all-branches (in code)
    3. interaction – all – MOM interactions (from interaction matrix)

INTEGRATION

SYSTEM

 

3.

TESTCASE FOR CLASS TESTING

OUT, = <East/West Green & North/South Red; timeout(); East/West Yellow & North/South Red>

 

TESTCASE FOR INTEGRATION TESTING

TESTCASE FOR SYSTEM

 

4

The technique in this paper could be applied to the traffic control system at the integration level of testing. The technique is specifically designed for distributed systems and uses statecharts (modified to include the communication backbone) to produce event-trees. The event trees are then traversed to produce event sequences which are then used to test the system. Since the reported technique uses nested, concurrent state machines, it is also applicable to the traffic control system as a whole. Each intersection represents a state machine that acts concurrently with the other intersection state machines. By thinking of these as a single machine with 4 concurrent pieces, we can apply the technique and create an interleaved event tree.

For the traffic control systems this works nicely at the integration level because it will use the state charts to automatically produce test sequences that would effectively cover the state charts & give the tester a level of confidence that a certain level of coverage (all messages/all protocols) has been achieved.