Skip to main content

duplicate-ids

Ensure that there are no duplicate step and command IDs in your tests and modules. This is important for maintaining the integrity of your caches and avoiding conflicts during execution.
npx momentic check duplicate-ids

Options

--fix
boolean
Apply fixes to the duplicate IDs found. This will automatically rename the duplicate IDs to ensure uniqueness.

duplicate-names

Check for duplicate names in your tests and modules. This helps to prevent confusion and ensures that each test and module are uniquely identified.
npx momentic check duplicate-names

config

Check your momentic.config.yaml for errors.
npx momentic check config

Options

-c, --config <config>
string
Path to the Momentic configuration file. If not specified, it defaults to momentic.config.yaml in the current directory.