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

Accept command line arguments in unit tests

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2016-08-29, Repl 2017-07-31

      Description

      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.
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: