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.


+16 votes

Do y'all have unit test for every class or tests for only the data models to meet the final Memo requirement?

asked in CSC305 Fall 2023 by (241 points)
edited by

6 Answers

+8 votes

do we need it for all of the data models? i have a class which pretty much collects all the data into one place making it accessible to all controllers so im planning to only write the test for that file

answered by (2.3k points)
+6 votes

My team still needs to work on unit testing but I don't think we'll have a unit testing for all the class.

answered by (1 point)
+6 votes

I thought it was not necessary to have unit tests for every class. I suppose a couple would be fine.

answered by (1 point)
+5 votes

Currently, we don't have unit tests for each class. We plan on adding more, I'm not sure if we have to do tests for each class though.

answered by (2.2k points)
+2 votes

although a lot of testing should be a good practice. I'm assuming it isn't a huuuge deal for the MEMO

answered by (1 point)
0 votes

No we did not have the time to do one

answered by (1 point)