You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The numbers presented in the test result don't seem to add up:
13 tests were completed in 274s with 12 passed, 0 failed and 0 skipped.
I don't understand how the number of completed tests is formed. But I would assume it to be the sum of passed + failed.
In fact, in the given test suite, there were 12 tests (test(…);) included. So I would have expected "12 tests were completed …".
This is the originating test results file of reporter: "flutter-json": test-results.json
The text was updated successfully, but these errors were encountered:
According to the documentation of the TestDoneEvent, the hidden "tests" should be ignored:
The hidden attribute indicates that the test's result should be hidden and not
counted towards the total number of tests run for the suite. This is true for
virtual tests created for loading test suites, setUpAll(), and tearDownAll(). Only successful tests will be hidden.
This could be easily fixed by removing "tests" with the hidden flag on the TestDoneEvent from the test result.
@jozefizso, would this solution be accepted as a PR? Let me know if you need more background information!
The numbers presented in the test result don't seem to add up:
I don't understand how the number of completed tests is formed. But I would assume it to be the sum of passed + failed.
In fact, in the given test suite, there were 12 tests (
test(…);
) included. So I would have expected "12 tests were completed …".This is the originating test results file of
reporter: "flutter-json"
:test-results.json
The text was updated successfully, but these errors were encountered: