[SERVER-8937] C++ Unit Tests Should Print Success/Failure summary at end of execution. Created: 11/Mar/13  Updated: 11/Jul/16  Resolved: 07/Oct/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

C++ unit test programs print failure information during test execution, but if there are several suites in a test program, and one case in one suite early in the execution fails, it might scroll off the top of the screen, making it hard for someone running the test by hand to notice.

Recommended behavior: After the last suite executes, if all tests in all suites passed, log the string "SUCCESS - All tests in all suites passed". If any tests in any suites failed, log an enumeration of the failing tests, ordered by suite, and finally "FAILURE - %d tests in %d suites failed".

Failing tests:
Case1/Test1 Failed
Case1/Test3 Failed
Case9/Test14 Failed
 
FAILURE - 3 tests in 2 suites failed



 Comments   
Comment by auto [ 04/Oct/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-8937 added success/failure summary at end of execution
Branch: master
https://github.com/mongodb/mongo/commit/8e2c2af3e3bb2129018d956fe19db897197a76a9

Generated at Thu Feb 08 03:18:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.