Hi,
I'm new to Ruby but have has some success bending it to my will. I am
using the Test::Unit framework but it doesn't quite fit my needs. I need
to report the number of asserts() that pass and the number that fail.
Also, I need failed asserts to not stop the program flow. Am I using
the wrong test framework or can I easily bend Test::Unit to my needs?
Thanks in advance!
Shayne
Unit tests aren't meant for counting how many assertions fail, they're
meant to indicate where problems are so they can be fixed. You may want
to divide your tests up further if you need fine grained details. If
you absolutely have to do all tests you may want to do something like
this: