Package com.atlassian.jira.functest.rule
Class SinceBuildRule
java.lang.Object
com.atlassian.jira.functest.rule.AbstractBuildNumberRule<SinceBuildRule.SinceBuild>
com.atlassian.jira.functest.rule.SinceBuildRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class SinceBuildRule
extends AbstractBuildNumberRule<SinceBuildRule.SinceBuild>
implements org.junit.rules.TestRule
Ensures tests are ignored if the currently running JIRA is on an older build number than when the test was written.
This situation arises during a Zero Downtime Upgrade (ZDU), when a JIRA cluster passes through a state where the
binaries are on 'latest', but the Upgrade Tasks haven't been run yet, hence the database is on 'old'.
Use the @SinceBuild annotation if you're testing:
- a feature that is hidden behind a Dark Feature
- a database change that requires an Upgrade Task
If you're unsure, use the annotation. It won't hurt.
Have a look at its counterpart
BeforeBuildRule-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.jira.functest.rule.AbstractBuildNumberRule
applyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.rules.TestRule
apply
-
Constructor Details
-
SinceBuildRule
-