content
content copied to clipboard
Add option to SSGTS to skip templated test scenarios if custom tests are found
Description of problem:
Sometimes templated test scenarios don't cover all possible cases a template can be used. As it's in the case of https://github.com/ComplianceAsCode/content/pull/7405/files#diff-66fb572257ded0d27ec50b0c7c6f8073df416494e02dcbc58a15a50ffefff704 where we can't easily implement generic tests for that. In this case we have custom test scenarios but current implementation of templated tests will evaluate generic tests anyway unless we override all the tests scenarios. Having an option/mechanism to skip templated test scenarios is desired in these situations.
Does "test_config.yml" like in linux_os/guide/system/software/system-tools/package_openscap-scanner_installed/tests/test_config.yml help?
This is fixed now.
Fixed by #8052
For reference: https://complianceascode.readthedocs.io/en/latest/tests/README.html#augmenting-using-shared-templates