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
This was raised in #26166 but I think no explicit decision was made.
Current behaviour is not indiciative of "no tests" being an issue at all.
julia> using Test
julia> @testset "" begin
""
end
Test Summary: |
| No tests
Test.DefaultTestSet("", Any[], 0, false)
One possibility would simply be to use color to print the "No tests" message in the "warning" (yellow) color, rather than the more neutral "info" (blue color), though of course that doesn't affect the no-color output.
I've no opinion here, but it was raised at work and i couldn't find another issue/discussion on it.
The text was updated successfully, but these errors were encountered:
I think it makes sense for an empty testset (a testset with no tests) to throw an error. After all, in what situation would a testset with no tests be the desired behavior?
This would probably be breaking, right? So in Julia 1.x it would print a warning, and in Julia 2.0 it would throw an error.
This was raised in #26166 but I think no explicit decision was made.
Current behaviour is not indiciative of "no tests" being an issue at all.
One possibility would simply be to use color to print the "No tests" message in the "warning" (yellow) color, rather than the more neutral "info" (blue color), though of course that doesn't affect the no-color output.
I've no opinion here, but it was raised at work and i couldn't find another issue/discussion on it.
The text was updated successfully, but these errors were encountered: