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

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

    • Server Tooling & Methods
    • Fully Compatible

      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.

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

              Created:
              Updated: