Prerequisites: These tests must exist locally as YAML files.
momentic-mobile results upload
command.
- [tests…]: The tests to run. 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>
Path to the Momentic configuration file. Defaults to momentic.config.yaml
in the current directory.
-y, --yes
Skip all confirmation prompts (defaults to true in CI).
-p, --parallel <parallel>
Number of tests to run in parallel. Defaults to 1
.
--log-level <logLevel>
Set logging verbosity. One of: error
, warn
, info
, debug
.
--output-dir <outputDir>
Directory to store run artifacts (screenshots, logs, results). Defaults to the project’s outputDir
or ./test-results
. The directory is cleared at the start of a run.
--upload-results
Automatically upload test results to Momentic Cloud after the run (equivalent to running momentic-mobile results upload <outputDir>
after completion).
--channel <channel>
Override the default release channel for APK selection during this run (e.g., staging
, dev
). If omitted and no default channel is configured on the test, Momentic will not install an APK on emulator initialization.