I wrote a performance test class marked as @Ignore
because it takes a very long time to run and I don't normally need to run it. I'd like to be able to right click one of the @Test
s and say "run" but when I do that in intellij it doesn't run the test because the class is marked as ignored.
I don't want to comment out the @Ignore
because it's too easy to accidentally commit the file with the @Ignore
removed. But I feel that if I explicitly tell Intellij to run a test it should run it regardless of the @Ignore
. Keep in mind, if I run a group of classes (eg: all in a package) I still would want this test class to be ignored.
Is it possible to get this functionality in Intellij?