I'm looking for a way to only run a few tests instead of all existings JUnit test cases in our automated build, which uses ant. I can't add @ignore annotations in the code since it would take to much time. Is there a way to define which test cases/classes Junit should run during the build process?
Yes, I know that. I was actually thinking about how to set up testing in ant to filter out which classes that I want to be tested and not. There was an ant task defining exactly that, which I changed to fit my needs.