klyn.unittest.launcher.TestLauncher.run
method
public static run(notnull arguments as IList<String>) as Int:
Description

Parses command-line arguments and executes the requested test run.

The test root is resolved from Application.properties["klyn.sourceDirectory"]. The returned value is suitable for Application.exit().

Parameters
ParameterDescription
argumentsCommand-line options and package filters.
Returns

Application.EXIT_SUCCESS when the requested operation succeeds, otherwise Application.EXIT_FAILURE; graphical mode returns the window event-loop status.

Example
exitCode = TestLauncher.run(["--json", "klyn.collections"])
exit(exitCode)