Is your feature request related to a problem? Please describe.
Currently, CATS allows configuration through command-line arguments, but does not support passing a YAML configuration file that includes parameters such as fuzzers, skipFuzzers, and others. This feature request proposes adding support for a --config or similar CLI flag that allows users to specify a YAML file containing all configuration options.
This would improve usability, especially for complex test setups, CI/CD pipelines, and teams managing multiple test profiles.
Describe the solution you'd like
Add support for a --config flag that accepts a path to a YAML file.
The YAML file should support all CLI parameters currently accepted by CATS.
If a parameter is defined both in the CLI and the config file, the CLI value should take precedence.
contract: openapi.yml
output: cats-report
fuzzers:
- VeryLargeStrings
- NullValuesInFields
skipFuzzers:
- ControlCharsInFields
- WhitespacesInFields
The command line could be then cats --config cats-config.yml
Additional context
Here there are additional benefits to implement that:
- Simplifies command-line usage
- Enables version-controlled test configurations
- Improves maintainability and readability of test setups
Is your feature request related to a problem? Please describe.
Currently, CATS allows configuration through command-line arguments, but does not support passing a YAML configuration file that includes parameters such as fuzzers, skipFuzzers, and others. This feature request proposes adding support for a --config or similar CLI flag that allows users to specify a YAML file containing all configuration options.
This would improve usability, especially for complex test setups, CI/CD pipelines, and teams managing multiple test profiles.
Describe the solution you'd like
Add support for a --config flag that accepts a path to a YAML file.
The YAML file should support all CLI parameters currently accepted by CATS.
If a parameter is defined both in the CLI and the config file, the CLI value should take precedence.
The command line could be then
cats --config cats-config.ymlAdditional context
Here there are additional benefits to implement that: