Accept command line arguments in unit tests

XMLWordPrintableJSON

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

      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
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: