Question: Task 7 : Create tests for all the classes In this project iteration, your team needs to create JUnit test cases for all the classes
Task : Create tests for all the classes
In this project iteration, your team needs to create JUnit test cases for all the classes in the simulator module. This means that all the model and web server classes should be tested. Your test cases need to achieve branch coverage. Some of your test cases need to use test doubles. Specifically, you should create at least test cases using test doubles. Your team does not need to create test cases for getter and setter methods. Your team has to document what each test is supposed to do by adding a Javadoc comment to the test. A sample set of test cases is provided in the
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
