Inspecter home page
Search...
⌘K
Get access
Dashboard
Dashboard
Search...
Navigation
CLI
Run tests
Get Started
Overview
Installation
CLI
Start app
Setup
Run tests
Build report
Comment Github
Guides
Authentication
Synthetic Data
CI Examples
Core
Steps
Config
Fixtures
On this page
Run tests
CLI
Run tests
Execute scripts locally and in CI
Prerequisite
: You’re in
inspecter-tests
folder.
Run tests
npm
Copy
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.
Setup
Build report
Assistant
Responses are generated using AI and may contain mistakes.