mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
Add junit report format (#920)
* add junit report format * add fingerprint to expected test result to fix tests * fix expected junit test report
This commit is contained in:
1 parent
bc599446dc
commit
0dbdde837f
9 files changed
+247
-2
No files matched your search
@@ -68,6 +68,22 @@ func TestReport(t *testing.T) {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
ext: ".xml",
|
||||
findings: []Finding{
|
||||
{
|
||||
RuleID: "test-rule",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
ext: "junit",
|
||||
findings: []Finding{
|
||||
{
|
||||
RuleID: "test-rule",
|
||||
},
|
||||
},
|
||||
},
|
||||
// {
|
||||
// ext: "SARIF",
|
||||
// findings: []Finding{
|
||||
|
||||
Reference in new issue
Block a user