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

    • Backwards Compatibility:
      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

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

              Dates

              Created:
              Updated: