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 7: 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 90% branch coverage. Some of your test cases need to use test doubles. Specifically, you should create at least 10 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 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!