Discussion Problem:
If you wish to use Python and unit test there is one extra step, and that is to convert a method from Simple2.java to Python.
Pick a Java method from Simple2.java and write a single JUnit test for it. Unit test should only test one functionality such as specific path in that method or parameter or value in that method. Do not bundle tests together in one test case. Select a method or a test different from your classmates. Need Assignment Help?
This week's readings and examples go over unit test in general and JUnit in particular. A good way to start with JUnit is the following tutorial with examples of JUnit tests:
There are examples of JUnit test in this week's power point charts as well as source code with corresponding JUnit in week 12-13 folder under My Course Content (ListNode.java and TestListNode.java; Simple.javaand TestSimple.java).
A good way to start learning JUnit is the following tutorial with instructions on setting up Eclipse and examples of JUnit tests