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

Allow resmoke.py to filter tests by function name in test file

    XMLWordPrintable

Details

    • New Feature
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • 3.7.1
    • None
    • Testing Infrastructure
    • Fully Compatible

    Description

      resmoke's test filtering currently operates on a file level. But for unit tests and benchmark tests, there is usually more than one test per file. They support the --filter and --benchmark_filter respectively to run specific functions in a file. We could add an option to resmoke to support these options, maybe as another phase in the selector on top of the existing file-based selection.

      Some JS tests also have more than one "test" per file, so it might be interesting to pipe this logic to JS files as well.

      Attachments

        Activity

          People

            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            robert.guo@mongodb.com Robert Guo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: