Skipped tests are included in total % of tests ran
Summary
The JUnit report is counting skipped tests in the total for tests ran which is not necessarily accurate.
Steps to reproduce
(How one can reproduce the issue - this is very important)
- Create a project with some unit tests that are skipped.
- Navigate to the Tests tab for a pipeline that has skipped tests.
Example Project
Validation Project from initial write-up.
What is the current bug behavior?
Success rate is calculated as Passed tests / total tests. This includes the failed, errors, skipped and passed.
What is the expected correct behavior?
Success rate should calculate on passed tests / executed tests. This should include failed, errors and passed.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)
Output of checks
This bug happens on GitLab.com
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Edited by James Heimbuck