I have a bunch of similar
@testsets, and I know that some of them currently fail, and will do so until some upgrades are made to my package. For skipping single tests, there’s
@test_broken, but is there a nice way to skip a whole
@testset? I don’t want to alter the individual
@test calls because they’re inside a function that’s called in
@testsets that pass (and I don’t want to waste time running stuff that I know will fail). Putting
@test_skip @testset ... sort of works: the
@testsets are not run, and some ‘Broken’ entries appear in the output, but it would be nice if, for example, the
@testsets’ names would still appear in verbose output, but highlighted and marked as broken. I guess a
skip=true optional argument to
@testset could do this?
Edit: even better than a
skip=true argument would be
skip="foobar" where the string can give a reason the test is skipped, which could be printed beside the
@testset's name in the summary.