Separate Failed Assertions from Unexpected Exceptions?
A seemingly-minor detail of test framework design turns out to depend on context
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…

