Testing Requirements

You must provide your own tests in a file called StudentTests.java. Please be sure to put this file within the "tests" package. To create this file in Eclipse, you should right-click the "tests" folder, the choose "New", "JUnit Test Case". When it asks for the name of your tests, call it "StudentTests".

You only need to provide tests for methods that you implement or that call methods that you implement.

We encourage you to thoroughly test your code with your own tests. This will allow you to pass the release tests sooner plus will help you develop your testing skills (after all, there is no submit server in the real world :)). In addition, you should implement your tests as you develop your code.

If you define any text files for your tests, you must name those files beginning with "studentTest" and ending with the .txt extension. If you don't name files this way, the submit server will generate an authorization error (even if the tests run fine in Eclipse). By the way, while developing your tests, feel free to use any code we have provided in the test package of the code distribution.

Keep in mind that you can use the debugger with JUnit tests.

Web Accessibility