1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

kyverno/test: print test summary of kyverno test results (#2944)

Signed-off-by: sloorush <aarush.bhatt@gmail.com>

Co-authored-by: shuting <shutting06@gmail.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
This commit is contained in:
Aarush Bhat 2022-01-12 18:52:22 +05:30 committed by GitHub
parent baf4fa335b
commit c202fb0f15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,6 +339,8 @@ func testCommandExecute(dirPath []string, valuesFile string, fileName string, gi
os.Exit(1)
}
fmt.Printf("\nTest Summary: %d tests passed and %d tests failed\n", rc.Pass+rc.Skip, rc.Fail)
os.Exit(0)
return rc, nil
}