Question: Outline a test strategy with at least 4 test cases for the program portion given below. Provide justification for the test cases you have

Outline a test strategy with at least 4 test cases for the

Outline a test strategy with at least 4 test cases for the program portion given below. Provide justification for the test cases you have chosen by referring to some of the test heuristics you have learned about in this unit. Movie movie = new Movie ()%;B Scanner console = new Scanner(System.in); System.out.println("Enter your age"); int age = console.nextInt(); if (age 15 && movie.getRating().equals("M")) movie.setWatchable (false); else if (age < 13 && movie.getRating().equals("PG")) { } else movie.setParents Present(true); movie.setWatchable (true); movie.setWatchable (true);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Test Strategy 1 Boundary Value Analysis Test the boundaries of the age ranges 13 14 15 to ensure cor... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!