TestConsoleLauncher
classin packageklyn.unittest.console
public final class TestConsoleLauncher:
TestConsoleLauncher

Executes a parsed Klyn test request in the console.

Applications normally use TestLauncher, which loads this backend only for non-GUI runs. Direct use is useful when options have already been validated.

Example
import klyn.unittest
import klyn.unittest.console

options = TestRunnerOptions.parse(["klyn.collections"])
exit(TestConsoleLauncher.run(options))
Methods
Modifier and Type Member Description
public static run
run(notnull options as TestRunnerOptions) as Int:
Runs selected test sources or packages and optionally writes JSON.