Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+10 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 (1 point)

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 (1 point)
+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 (1 point)
0 votes

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

answered by (1 point)
0 votes

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

answered by (1 point)
...