I have been using shUnit (UNIX korn shell
unit) in one of my classes. It runs all of the assertions in a method regardless of whether previous assertions fail. I found it interesting that all the xUnit frameworks don't behave the same way in this.
Personally, I like the way
jUnit functions better in all this. Mainly, because I only care about the first error. shUnit's system encourages me to write "bad" tests that test a bunch of different things.
I'm curious which way people here prefer? Just the first assertion failing or all of them running?