In this assignment, you will use JUnit to perform Unit and Integration testing on the UniLife game.
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.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.