TestRunnerOptions
classin packageklyn.unittest
public class TestRunnerOptions:
TestRunnerOptions

Command-line options accepted by the Klyn test starter.

Example
import klyn.unittest

options = TestRunnerOptions.parse(["--json", "klyn.data"])
assert options.writeJson
Properties
Modifier and Type Member Description
public property gui
gui as Boolean = false
Starts the graphical test runner.
public property help
help as Boolean = false
Displays command-line help without executing tests.
public property jsonFilename
jsonFilename as String = "test-results.json"
JSON destination used by --json and -j.
public readonly property packages
packages as ArrayList<String>
Package roots selected on the command line.
public readonly property sources
sources as ArrayList<String>
Explicit test source files selected by an IDE integration.
public property streamJson
streamJson as Boolean = false
Emits incremental JSON Lines events for IDE integrations.
public property writeJson
writeJson as Boolean = false
Saves the completed report as JSON.
Constructors
Modifier and Type Member Description
public TestRunnerOptions Creates default runner options.
Methods
Modifier and Type Member Description
public static helpText
helpText() as String:
Returns the command-line help.
public static parse
parse(arguments as IList<String>) as TestRunnerOptions:
Parses test starter arguments.