We have a Java project which relies on Junit and failsafe plug-in to execute the test cases. In order to select the test cases to execute we have created our own @Category annotation and we mark each test to execute with our annotation. In the pom.xml we have added the parameter referring to our annotation. The approach is fine and it works. Now, what I'd like to do is: - to get rid of @Category annotation, marking each test to execute is boring - find a way to exclude automatically all those tests that do not have @Test (we have some super-class that do not need to be executed on their own).
Is there any way to do that?
Thank you
Aucun commentaire:
Enregistrer un commentaire