Prerequisite: You’re in inspecter-tests folder.

Run tests

npx inspecter run
[scripts...]
string[]

Paths or filenames of scripts to run. Useful for debugging locally.

-p, --publish
boolean

Publishes test results to Inspecter Platform, enabling you to view results by URL.

-h, --headed
boolean

Start headed browser to see execution live. Useful to see progress locally.

--grep <pattern>
string

Filter scripts by regex pattern.

--grep-invert <pattern>
string

Exclude scripts by regex pattern.

-w, --workers <workers>
number
default:"5"

Number of tests executed in parallel. The optimal number depends on the network bandwidth and performance of your machine.

-o, --output <path>
string
default:"runs"

Path to the directory where test results will be saved.

-c, --config <config>
string
default:"base.config.ts"

Filename of the configuration file.