Pular para o conteúdo principal
Versão: v3.x.x

enforce

Ensures that the execution is valid and safe before proceeding with the tests.

2Stable

From 3.0.0-rc.1 onwards.

History
VersionChanges
v3.0.0
Ensure both _CLI_ flags and config file properties, including its values.
v2.5.0
CLI: add enforce option.

Forces an error for:

  • Invalid or deprecated flags (CLI) or properties (config file).
  • Flags with required values, but with no value.
  • Invalid values (--config, --envFile, --concurrency).
  • Flags that don't use values, but have some values in them.

CLI

npx poku --enforce ./test
  • Short flag: -x.
info
  • This option ignores the quiet option.
Important

Failures due to deprecated features and options won't be considered breaking changes when using enforcement.