In this assignment, you will use JUnit to perform Unit and Integration testing on the UniLife game. You need to download the game from
https://github.com/sophiaszy/UniLife–Game#readmeL…
and run it your machine.
Your auto testing code should include many different assertion statements (at least 7 different ones), such as assertEquals(), assertTrue() / assertFalse(), assertSame() / assertNotSame(), assertThat(), assertNull(), assertNotNull, etc. You also need to use annotations, fixtures, and some TestSuite() statements. For organization purposes, you may create an additional directory (folder) inside the directory of the game project to include all the unit test cases.
In order to perform Integration testing, you will apply the Pairwise/Du technique to the methods you choose (two pairs are enough). In order to do so, you need to determine the code paths between the methods (interfaces) that you will test. Explain this in a separate sheet (similar to the exercises in the slides).
In addition, you need to execute the EclEmma or JaCoCo tool with your auto testing to show the test coverage (10 pts).
Useful links:
Eclipse IDE
https://www.eclipse.org/downloads/
NetBeans IDE
https://netbeans.apache.org/download/index.html
Intellij
https://www.jetbrains.com/idea/download/#section=m…
——————————— End of assignment_3 ——————————-
Optional for extra credit – after determining the test cases required to verify the interfaces between the two methods, you will use JUnit to execute these test cases. The goal is to make you learn how to use JUnit to perform Integration testing. Create an additional second directory to include all auto integration test cases.
————————————-
I want you to do the assignment and the optional extra credit too
link for the slides related to this assignment, if you need previous slides let me know .
https://www.mediafire.com/file/1hrfordi0firh0r/Stu…
Lastly please provide a readme or a word doc that has a guide on how to use your test code and a brief explanation.