How to use Ant to run a JUnit 5 test annotated with @Tag?
For instance:
class Tax {
@Test
@Tag("taxes")
void testingTax() {
}
}
In Maven, I can do the following to include or exclude. However, I do not know how to make it work in Ant.
<properties>
<includeTags>taxes</includeTags>
<excludeTags>Promo</excludeTags>
</properties>
Please inform.
source
share