momentic and momentic-mobile CLIs run tests locally without
uploading results anywhere unless you explicitly opt in.
Basic usage
Selecting tests
- By name,
npx momentic run login-flow - By file,
npx momentic run tests/auth/login.test.yaml - By label: add
labels:in a test’s YAML, thennpx momentic run --labels smoke
npx momentic list to preview
which tests match a pattern before running.
Parallelism
Setparallel in
momentic.config.yaml to run multiple tests concurrently. The default is 1.
momentic.config.yaml
Picking an environment
Define environments in your config (e.g.,dev, staging, local), then pick one at run time:
Watching for changes
During development, the local editor gives a tighter feedback loop thanrun. Use run when you want reproducible
pipeline-style execution.
Uploading to the dashboard
By default local runs stay local. To upload results, pass--upload-results (or
the matching flag for your CLI), see
Results & reporting.