Skip to content

Conversation

@lcarva
Copy link
Contributor

@lcarva lcarva commented Nov 7, 2023

Some tests are required to be executed, but their results do not have to be successful. They are meant to inform the user that their results need some attention, but they are non-blocking. An example of such test is a certain code scanner which may produce a high number of false positives. These tests are referred to as informative.

This commit modifies the test package to more easily support these types of tests.

Also, since test.no_skipped_tests has been modified to emit a violation instead of a warning, an effective date to a month from now has been added. This should allow users to gradually address any issues before they become blocking.

Ref: EC-224

Some tests are required to be executed, but their results do not have to
be successful. They are meant to inform the user that their results need
some attention, but they are non-blocking. An example of such test is a
certain code scanner which may produce a high number of false positives.
These tests are referred to as informative.

This commit modifies the `test` package to more easily support these
types of tests.

Also, since `test.no_skipped_tests` has been modified to emit a
violation instead of a warning, an effective date to a month from now
has been added. This should allow users to gradually address any issues
before they become blocking.

Ref: EC-224

Signed-off-by: Luiz Carvalho <[email protected]>
@lcarva lcarva merged commit c4603b8 into conforma:main Nov 8, 2023
@lcarva lcarva deleted the EC-224 branch November 8, 2023 14:44
zregvart added a commit to zregvart/ec-cli that referenced this pull request Jan 11, 2024
With EC-224 and the change in [1] we time-bombed the acceptance tests.
This modifies the scenario slightly so a different rule, one emitting a
warning, is used. I believe the original intent of the test is
maintained.

[1] conforma/policy#793
zregvart added a commit to zregvart/ec-cli that referenced this pull request Jan 11, 2024
With EC-224 and the change in [1] we time-bombed the acceptance tests.
This modifies the scenario slightly so a different rule, one emitting a
warning, is used. I believe the original intent of the test is
maintained.

[1] conforma/policy#793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants