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:
parent
baf4fa335b
commit
c202fb0f15
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue