Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiffReport ¶
type DiffReport struct { Claim1ResultsSummary TcResultsSummary `json:"claimFile1ResultsSummary"` Claim2ResultsSummary TcResultsSummary `json:"claimFile2ResultsSummary"` TestCases []TcResultDifference `json:"resultsDifferences"` DifferentTestCasesResults int `json:"differentTestCasesResults"` }
Holds the results summary and the list of test cases whose result is different.
func GetDiffReport ¶
func GetDiffReport(resultsClaim1, resultsClaim2 claim.TestSuiteResults) *DiffReport
Process the results from different claim files and return the DiffReport. In case one tc name does not exist in the other claim file, the result will be marked as "not found" in the table.
func (*DiffReport) String ¶
func (r *DiffReport) String() string
Stringer method for the DiffReport. Will return a string with two tables: Test cases summary table: STATUS # in CLAIM-1 # in CLAIM-2 passed 22 21 skipped 62 62 failed 3 4
Test cases with different results table: TEST CASE NAME CLAIM-1 CLAIM-2 access-control-net-admin-capability-check failed passed access-control-pod-automount-service-account-token passed failed access-control-pod-role-bindings passed failed access-control-pod-service-account passed failed ...