Arguments
Tests to list, given as test file paths, directories, or test-name substrings.
Defaults to every test in the current project.
Common flags
Path to the Momentic configuration file. When omitted, Momentic searches the
current directory and its parents for
momentic.config.yaml or a workspace
configuration. Use this flag to select a project when discovery finds more
than one.When using workspaces, load the
project whose name matches the filter.
Filtering
Only include tests whose file path matches any of the provided regex patterns.
The pattern only needs to match part of the path.
Only list tests changed against the base branch: changed test files plus tests
that use a changed module (it lists those affected tests, not the module
files). The base branch is auto-detected from the CI pull request, or
origin/HEAD. Requires the checkout to have full Git history. Pipe into run
to re-run only what a Permanent
healing PR touched.List each target with its selectors, browser
settings, and number of matching tests.
Examples
List every test in the project:smoke label, then run the same selection:
run when the list is empty;
calling run without paths would run the whole project: