Skip to main content
Prerequisites: These tests must exist locally as YAML files.
List tests in the current project.
npx momentic-mobile list [options] [tests...]

Arguments

[tests...]
array
The tests to list. If not specified, selects all tests in the current project. You can specify multiple tests separated by spaces, test paths, or folder paths. You can also pass substrings to match test names.

Options

-c, --config <config>
string
Path to the Momentic configuration file. If not specified, it defaults to momentic.config.yaml in the current directory.
-f, --filter <filter>
string
Only applicable when using Workspaces. Loads the project with the specified name.
--include <includePatterns...>
array
Only include tests that match the provided regex patterns. Multiple patterns can be provided. The patterns will be matched against the test file paths and the pattern only needs to match a part of the path for the test to be included.
--exclude <excludePatterns...>
array
The opposite of --include: a test that matches any of the provided regex patterns will be excluded from running.