Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Prints one test file path per line for every test in the current project that matches the provided filters. Intended to be piped into other commands. Requires tests to exist locally as YAML files.
npx momentic-mobile list

Arguments

[tests...]
array
Tests to list, given as test file paths, directories, or test-name substrings. Defaults to every test in the current project.

Common flags

-c, --config <config>
string
Path to the Momentic configuration file. Defaults to momentic.config.yaml in the current directory.
-f, --filter <filter>
string
When using workspaces, load the project whose name matches the filter.

Filtering

--labels <labels...>
array
Only include tests with one of the specified labels.
--include <includePatterns...>
array
Only include tests whose file path matches any of the provided regex patterns. The pattern only needs to match part of the path.
--exclude <excludePatterns...>
array
Exclude tests whose file path matches any of the provided regex patterns.

Examples

List every test in the project:
npx momentic-mobile list
List tests under a specific folder:
npx momentic-mobile list tests/login
List tests then pipe into run:
npx momentic-mobile list tests/login | xargs npx momentic-mobile run