1 create a state-transition diagram for this problem 2 use


Use state-transition testing to solve the following testing problem.

  • In a course registration system, students can register for a given course when the course is in the open state.
  • At the end of the registration period, the course transitions to the closed state and the semester officially begins.
  • After the close of the registration period, the course will transition to the canceled state if the minimum number of students have not registered for the course.
  • The course transitions to pending cancelation state if the instructor resigns during the semester, and it remains in this state until a new instructor is found and assigned to teach the course.
  • If a new instructor is assigned to teach the course, the course reverts to the closed state. If a new instructor is not assigned to teach the course, the course is canceled.
  • At the end of the semester, after the instructor has submitted the students' grades, the course transitions to the completed state.

1. Create a state-transition diagram for this problem

2. Use the state-transition diagram to create:

a. The minimum number of test cases needed to achieve state coverage without looping

b. The minimum number of test cases needed to achieve transition coverage

c. One test case to include two iterations of a loop (exclude any selftransition loops, i.e. transitions whose source and target states are the same).

3. Construct a state-transition table showing the current state, event, action and next state.

Solution Preview :

Prepared by a verified Expert
Business Management: 1 create a state-transition diagram for this problem 2 use
Reference No:- TGS02944610

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)

2015 ┬ęTutorsGlobe All rights reserved. TutorsGlobe Rated 4.8/5 based on 34139 reviews.