Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 597 Bytes

cli.md

File metadata and controls

21 lines (14 loc) · 597 Bytes

Running tests from the CLI

Use testlight run to execute a test from the command line or CI:

testlight run path/to/test.mmt --env-file env.mmt --preset dev

Override env values inline:

testlight run path/to/test.mmt -e api_url=http://localhost:8080 -e user=alice

Generate a report after the run:

testlight run path/to/test.mmt --report junit --report-file results.xml

See Testlight — Options · Testlight · Reports — CLI · Environment CLI