fix: correctly report the number of remaining tests for io tests - #6263
Merged
pchiusano merged 1 commit intoAug 7, 2026
Merged
Conversation
etorreborre
force-pushed
the
etorreborre/fix/io-remaining-tests
branch
2 times, most recently
from
August 6, 2026 13:54
04993e1 to
77317f8
Compare
Signed-off-by: Eric Torreborre <etorreborre@yahoo.com>
etorreborre
force-pushed
the
etorreborre/fix/io-remaining-tests
branch
from
August 6, 2026 14:00
77317f8 to
b3b6d71
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This test fixes the reporting of
io.test.allwhere the "number of tests left" increases after each execution instead of decreasing.Implementation approach and notes
I have changed a
foldrMto afoldlMin order to execute the tests in order, and zip with0..to get correct indices.Test coverage
I have added a unit test. I would have liked to introduce a transcripts but this this only shows as transient messages, I don't think that it can (yet) be expressed in a transcript.
I otherwise tested manually:
And I could see the number of tests remaining to execute decrease (note that I added the total number of tests to execute).