Lupa API Reference / @pawel-up/lupa/runner / CLIArgs
Type Alias: CLIArgs
CLIArgs =
object&Record<string,string|string[] |boolean|number>
Defined in: src/runner/types.ts:43
Parsed command-line arguments
Type Declaration
_?
optional_?:string[]
Unparsed arguments
bail?
optionalbail?:boolean
Whether to bail
bailLayer?
optionalbailLayer?:string
Bail layer
browser?
optionalbrowser?:string|string[]
Browser(s) to run tests in
concurrency?
optionalconcurrency?:string|number
Concurrency level
coverage?
optionalcoverage?:boolean
Whether to enable code coverage
failed?
optionalfailed?:boolean
Whether to run only failed tests
files?
optionalfiles?:string|string[]
Test files to filter by
forceExit?
optionalforceExit?:boolean
Whether to force exit
groups?
optionalgroups?:string|string[]
Test groups to filter by
help?
optionalhelp?:boolean
Whether to show help
list?
optionallist?:boolean
Whether to output the list of suites and tests
listPinned?
optionallistPinned?:boolean
Whether to list pinned tests
matchAll?
optionalmatchAll?:boolean
Whether to match all tests
parallel?
optionalparallel?:boolean
Whether to disable parallel execution
reporters?
optionalreporters?:string|string[]
Reporters to use
retries?
optionalretries?:string
Number of retries
tags?
optionaltags?:string|string[]
Test tags to filter by
tests?
optionaltests?:string|string[]
Test names to filter by
timeout?
optionaltimeout?:string
Test timeout
verbose?
optionalverbose?:boolean
Whether to enable verbose mode
viteConfig?
optionalviteConfig?:string
Path to Vite configuration file