Results 1 to 1 of 1
- 04-18-2013, 11:49 AM #1Member
- Join Date
- Apr 2013
- Rep Power
Where do I start with test cases?!
I'm trying to work my way through some exercises on test cases. I'm having a bit of trouble getting started however.
I have a class diagram (As pictured below), and the exercise calls for me to write 20 test cases for the summariseScores() method in the Quiz class. I've read tutorials on JUnit and test cases, but I don't know where to start. Could someone show me an example of some sort? Or give me a starting point?
Do I use assert statement to test?
- By Hazza in forum New To JavaReplies: 1Last Post: 04-08-2013, 04:59 AM
- By phoenox7 in forum Java SoftwareReplies: 1Last Post: 02-24-2013, 08:26 AM
- By cloud9resident in forum Forum LobbyReplies: 1Last Post: 11-07-2012, 02:48 PM
- By bossanova in forum New To JavaReplies: 9Last Post: 11-06-2010, 03:43 AM