Generate equivalent Java code for the statechart diagram for the SetTime use case of 2Bwatch (Figure 11-14). Use equivalence testing, boundary testing, and path testing to generate test cases for the code you have just generated. How do these test cases compare with those generated using state-based testing?

What will be an ideal response?


State-based testing is similar to applying equivalence testing for every state, hence, equivalence testing applied to a
state-driven system results in the same set of test cases. Path testing and boundary testing do not generate any new
tests.

Computer Science & Information Technology

You might also like to view...

__________ is the use of a trusted third party to assure certain properties of a data exchange.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Word tabs, such as the File and Home tabs, are organized in groups on the ____.

A. Ribbon B. Status bar C. Title bar D. Quick Access toolbar

Computer Science & Information Technology

The U.S. national version of the International Reference Alphabet is referred to as __________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The ________ is a module on a centralized system that collects audit trail records from other systems and creates a combined audit trail.

A. audit dispatcher B. audit analyzer C. audit trail collector D. audit provider

Computer Science & Information Technology