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
Would it be possible to write a negation when supplying tags to runtests()?
For example, I have a @testitem "do_a_lot" tags=["long"], and I only want to run all the tests that are not tagged long.
It would be great if I could specify runtests(tags=["!long"]), or runtests(exclude_tags=["long"]).
i think we decided not to support a way to negate tags, since at that point the log of name, tags and (a hypothetical) exclude_tags gets quite complex, and you're better of just writing the logic in Julia, hence supporting the option to pass a function that filters on the name and tags directly.
Would it be possible to write a negation when supplying tags to
runtests()
?For example, I have a
@testitem "do_a_lot" tags=["long"]
, and I only want to run all the tests that are not taggedlong
.It would be great if I could specify
runtests(tags=["!long"])
, orruntests(exclude_tags=["long"])
.I'm referring to this part in the documentation: https://docs.juliahub.com/General/ReTestItems/stable/autodocs/#ReTestItems.runtests
The text was updated successfully, but these errors were encountered: