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

Define suites for subsets of unittests from each major area of the codebase

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.5
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • Quint Iteration 5

      There is a way to run a subset of the unittests through resmoke.py, but it is not clear or intuitive how to do so. We should define YAML suite definitions for the different areas of the code base. Specifically:

      • replication (build/**/repl/*)
      • auth (build/**/auth/*)
      • sharding (build/**/mongo/s/*)
      • query (build/**/query/*)

      Old description:
      Right now when I want to run all the replication unit tests, I "scons build/unittests.txt", then I copy all the lines of unittests.txt that correspond to repl tests and paste that into the shell. Then I have to scroll up through the pages of output and visually parse the output looking for any indication that a test fails. This is incredibly involved and error prone. We need some way to run a group of unit tests and see clearly and succinctly if any of them failed.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: