Replies: 1 comment 1 reply
-
|
Hey @jongpie - we've been looking at redoing our test output, and will add this to our list. Are you seeing these when running |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, when running Apex tests, the output has a summary that includes "tests ran", "pass rate", and "fail rate". But there doesn't seem to be anything that shows the number of test failures (only the percentage). For large orgs/projects with a lot of tests, the percentages aren't quite enough to have a sense of the state of a failed test run.
For example, here's a copy of a test run from I did today. It ran 1,126 test methods, and 1 of the methods failed.
0%forFail Rate- with rounding, that's correct (1 / 1126-->0.088%--> round down to0%), but it's still conceptually a little strange to see a failure withFail Rate 0%/Pass Rate 100%In this example, 5 test methods failed. The output is essentially the same as the output above with 1 test failure - due to rounding, this is also reported as
Fail Rate 0%(5 / 1126-->0.444%--> round down to0%).Could something like a
Tests Failedline be added in the test results summary? Example below - this would be really handy for getting a quick sense of "how badly did I break things"Beta Was this translation helpful? Give feedback.
All reactions