Open d215steinberg opened 9 years ago
DN. I'm calling this a bug because of the inaccurate verify count shown in the example above ("output").
It's partly an an enhancement to improve the messaging (testcase text is displayed for every assertion under the given testcase). Something similar to rspec 'describe' and 'it' might be preferable.
1) Pass/Fail Notifications for EXPECT assertions are labeled with test name (duplicating test name when multiple EXPECTs under test) 2) Pass/Fail Notifications for VERIFY assertions are labeled with generated phrases 3) There is no indication of the hierarchical relationship of test cases and assertions
EXAMPLE (based on FILEDEMT):
Output:
Expect to see something more like the following:
When all assertions of a test case pass, we should report only that the test case has passed. When any assertions of a test case fail, we should report the test case failure along with the details of each failing assertion.