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 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
Test Strategy 1 Boundary Value Analysis Test the boundaries of the age ranges 13 14 15 to ensure cor... View full answer
Get step-by-step solutions from verified subject matter experts
