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.
This addresses a feature I proposed in #27088 (sorry for the delay 😊). The idea is to provide a mean to
@testset
to print child results even though all of them passed. IMHO (as I mentioned in the issue), the default behavior starts to become a problem when you have a very big package and wants to be sure that all necessary tests are working.The way I coded is very simple: if
verbose = true
is passed to@testset
, then the statistics of the children will be printed regardless of the test results. Notice that this does not affect the children of the children.Thus, if we have:
we will get:
Notice that I chose to do not print the results of
Child 2
.P.S.: In this PR, I added the functionality and the test so that we can discuss. After discussing, I can add the documentation as well.