junit: Correctly count skipped tests in junit Testsuite

Fixes #116
This commit is contained in:
Joël Stemmer
2022-02-24 21:55:05 +00:00
parent dde9ef5310
commit 014828bef4
3 changed files with 8 additions and 4 deletions

View File

@ -69,6 +69,10 @@ func (t *Testsuite) AddTestcase(tc Testcase) {
if tc.Failure != nil {
t.Failures += 1
}
if tc.Skipped != nil {
t.Skipped += 1
}
}
func (ts *Testsuite) SetTimestamp(t time.Time) {