runTests

Runs all tests in passed-in modules. Modules can be symbols or strings. Arguments are taken from the command-line. -s Can be passed to run in single-threaded mode. The rest of argv is considered to be test names to be run.

  1. int runTests(string[] args)
    int
    runTests
    (
    Modules...
    )
    (
    string[] args
    )
    if (
    Modules.length > 0
    )
  2. int runTests(string[] args, TestData[] testData)

Parameters

args string[]

Arguments passed to main.

Return Value

Type: int

An integer suitable for the program's return code.

Meta