patch

Apply patch changes to your Momentic tests from Failure recovery.

npx momentic apply patch [options]

Options

-c, --config <config>

Path to the Momentic configuration file. If not specified, it defaults to momentic.config.yaml in the current directory.

npx momentic apply patch --config path/to/momentic.config.yaml

-f, --filter <filter>

Only applicable when using Workspaces. Loads the project with the specified name.

npx momentic apply patch --filter workspace-name

--from <from>

The identifier of the patch to apply. It consists of three random words separated by dashes, like potato-apple-cherry.

npx momentic apply patch --from potato-apple-cherry

--to <to>

The test name to apply the patch to.

npx momentic apply patch --from potato-apple-cherry --to example-test