Page 1 of 1

Assertions Message Parameter (SimpleTest)

Posted: Tue Jan 02, 2007 4:40 pm
by Ollie Saunders
Does anybody use the 3rd parameter (message) on each of the assert method in SimpleTest? If so, why? Should I? What are they for?

Posted: Tue Jan 02, 2007 4:50 pm
by feyd
I do. I use them as comments about the specific test so it's a bit more useful then some line number.

Posted: Tue Jan 02, 2007 5:50 pm
by Ollie Saunders
That was what I was thinking. Could you post an example so I can see the sort of stuff you put in there?

Posted: Tue Jan 02, 2007 9:46 pm
by feyd
Looking through my code trees, I can't find any that I can post. Sorry.