Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12510

Add command line options to control which suites are run in unittests

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Testing Infrastructure
    • None

    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".

      Attachments

        Activity

          People

            Unassigned Unassigned
            sverch Shaun Verch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: