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

Accept command line arguments in unit tests

    • Fully Compatible
    • Repl 2016-08-29, Repl 2017-07-31

      Our unit test framework supports the filtering of test suite and test cases. Enabling it with command line options can make manual unit testing easier, especially when the unit test is very long. The following options are supported.

      --suite <SUITE>, specify the suite name that you want to run.
      --filter <FILTER>, specify a substring of the test cases' name that you're interested in.
      --list, list all test suites in this unit test.
      --repeat <TIMES>, repeat the unit tests for a given times.
      

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: