I've just started with JUnit and have been looking for good JUnit tutorials, but so far all I've come up with are either insanely brief, with just a technical overview of how to get started with JUnit and its annotations/commands, or very advanced and specialized in certain areas of JUnit (such as for people learning JUnit 4 when they already are familiar with the previous versions).
I need to learn how to actually formulate tests in JUnit based on the code that I need to test. ie what sort of test do we use with what sort of code, do we need to test every single method, how (or should) we test methods that only serve to return a value, how many test cases are enough to cover a particular function (ie we have a method that adds the number input to the balance and continually does so x amount of times, do we just test for one sample input and sample number of times? Or must we cover negative input, etc?).
Hope you get the drift. :)
No replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









