Please implement @IgnoreWhen(true) annotation.
Will be great to have annotation that can help ignore some tests depending on certain conditions.
Can you hit any examples? The annotations accept only compile time constants and not the references either an execution code. I can only imaging Class Object, and implementation similar to Rules.
This is exactly the situation org.junit.Assume is useful for.
assume make test green, but it bad if i want to calculate count of tests that were run
You're right, I'd not noticed that before. I've raised issue #455 to fix it.
@Jackalx - how are you counting test runs?
We calculating it by bamboo.
P.S. I have found that Spring Annotation can do the same things, maybe it can help
@IfProfileValue(name="java.vendor", value="Sun Microsystems Inc.")