I guess the use of the word “returns” is in error, it probably should say “prints”. Is there something specific you want to do? If you need the result of a previous test so the following tests only execute under a successful situation you can do:
@testset "foo" being
thing = false
@test thing = ....
if thing == true
# additional tests
end
end