Laboratory 9
JUnit - 1st experience
Put the Java source code of your solution to the exercise below on your private GitHub repository:
Feel free to talk to whomever you like about any aspect of the laboratory. Working in pairs may be helpful.
JUnit
Please look at the course Resources page for information about JUnit.
In this lab, you create a test class for a Queue Java class. Here is the source for the Queue class.
Using the Stack.java & StackTest.java files linked to from the course Sample Code web page, create a QueueTest.java file, which goes in a test directory (not the src directory). Run JUnit test until your QueueTest class properly tests the Queue class.