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.
Copyright © 2002-2020 Atlassian. All Rights Reserved.