konveyor / go-konveyor-tests

Apache License 2.0
1 stars 14 forks source link

Add percentage calculation to analysis tests #163

Open aufi opened 2 months ago

aufi commented 2 months ago

Adding calculation on success-rate of Got vs. Expected Issues and Incidents for analysis test and minor update of error output.

Everything below 100% is still considered as failure, just providing more background in info how much given analysis failed. Passing tests output is unchanged.

Example output:

--- FAIL: TestApplicationAnalysis (105.15s)
    --- FAIL: TestApplicationAnalysis/Tackle_Testapp_public (105.15s)
        --- FAIL: TestApplicationAnalysis/Tackle_Testapp_public/Issues_only__50_%__ (0.00s)