Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+6 votes

I was wondering what other groups are doing for their JUnit test cases for their projects.
Our group is doing it with the input parsing.

asked in CSC305 Fall 2021 by (3.3k points)

4 Answers

+3 votes

Our group was also considering the input parsing. Another simpler one could be the creation of a "course" object, or however you're storing each set of times/days/prof/etc as an object.

answered by (2.2k points)
+2 votes

You will likely want to create a test case for every method you create. The exact number of cases will differ between groups depending on the way their source code is modulated. The more thorough the better.

answered by (2.1k points)
0 votes

I think there should be tests for every class and method you have in your code.

answered by (2.1k points)
0 votes

Also, the input parsing is very important. So maybe try different variations of the class schedule to test the parsing.

answered by (2.1k points)
...