-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I often have the scenario where I have nested tag areas, where all tests in that block should share a tag:
@testset "Angle based testing" begin
@testset "Radian testing" begin
# tests here
end
@testset "Degree testing" begin
# tests here
end
endLet's say that I want to convert these to TestItems - I would then have to do
@testitem "Radian testing 1" tags=["Angle", "Radian"] begin
endand so on and so forth. This goes on for five or ten layers if I want very granular test items, so it's not trivial or readable to keep writing these.
Would it be possible / desired to build out a macro, maybe @testtag, with which I could do:
@testtag "Angle" begin
@testtag "Radian" begin
# radian test items
end
@testtag "Degree" begin
# degree test items
end
endfor the same result?
Metadata
Metadata
Assignees
Labels
No labels