[SERVER-12510] Add command line options to control which suites are run in unittests Created: 28/Jan/14  Updated: 10/Dec/14  Resolved: 26/Jun/14

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

Type: Improvement Priority: Minor - P4
Reporter: Shaun Verch Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

It would be helpful to have more granular control over which suites or tests in a unittest binary are run. We could then do things like separate slow and fast tests and only run the fast tests by default.

I can see the seeds for this support already baked into the unittest framework, just not hooked up here: https://github.com/mongodb/mongo/blob/master/src/mongo/unittest/unittest.cpp#L224 This support exists for the dbtests, so we could do something similar for unittests. This does require a bit more thought as to how to tag a test as "slow" or "do not run by default".


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