Separate Failed Assertions from Unexpected Exceptions?
Separate Failed Assertions from Unexpected Exceptions?
When I implemented the first xUnit framework, without much thought I recorded failed assertions separately from unexpected exceptions—failures & errors. Erich Gamma & I copied this choice when we implemented JUnit. As part of a review of testing framework design (soon to appear as Canon JUnit), I got to thinking about this decision.
One thing I like abou…
Read full article on Software Design: Tidy First? →
This excerpt is provided for preview purposes. Full article content is available on the original publication.