You are on page 1of 1

College of Computer and Information Systems

Bachelor of Computer and Information Systems


Fall Semester 2017-18
SWE 411 Software Verification and Validation
Course Instructor: Dr.Vani V
Class Work 2:
Exercises:
I.
1. Go through the Junit sample exercise provided in the netbeans link (uploaded in
LMS)
2. Use JaCoCo to test the coverage of the code
3. Understand Junit and JaCoCo to continue with the following exercise.

II.
1. Use rate.java file (provided to complete your assignment 1)
2. Generate test methods for this file
3. Update the test methods to cover all the statements
4. Test the file
5. Test the file with JaCoCo
6. Under the missed instructions (statements) which were not covered
7. Update the test methods to cover 100% of the statements

You might also like