@Target @Retention public abstract @interface

ResetData

implements Annotation
com.atlassian.jira.pageobjects.config.ResetData

Class Overview

Annotate your test class or test method with this annotation if you want the data on the tested JIRA instance to be reset to blank state before given test class/test method executes.

If a class is annotated with this annotation, the restore will happen for each test method in the class. If a test method is annotated - the restore will happen before that particular test only.

NOTE: This annotation cannot be mixed with other @Restore annotations either on method, or class level. That means that for given test there must only ever be one @Reset or @Restore-style annotation, or an error will be raised. This is to encourage developers to explicitly choose between the restore-once, or restore-for-each-test approach for each test suite.

See Also

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation