Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

feat: distinguish failed and ignored for JUnit (#719) #879

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

askingcat
Copy link
Contributor

Previously all not passed scan results were treated as a failure by the
JUnit formatter. This was a problem for e.g. tfsec, since with a JUnit
result viewer there was no way to distinguish between ignored tests and
actually failed ones.

Now "ignored" scan results are marked as "skipped".

Additionally, a test for passed scans has been added as well. It already
worked as intended, but so far we had no test to ensure this.

Previously all not passed scan results were treated as a failure by the
JUnit formatter. This was a problem for e.g. tfsec, since with a JUnit
result viewer there was no way to distinguish between ignored tests and
actually failed ones.

Now "ignored" scan results are marked as "skipped".

Additionally, a test for passed scans has been added as well. It already
worked as intended, but so far we had no test to ensure this.
@CLAassistant
Copy link

CLAassistant commented Aug 18, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@liamg liamg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@liamg liamg enabled auto-merge (squash) August 19, 2022 08:02
@liamg liamg merged commit 16d8665 into aquasecurity:master Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants