Package net.thucydides.core.annotations
Annotation Type Steps
-
@Retention(RUNTIME) @Target(FIELD) public @interface Steps
Marks a class that implements test steps as individual methods. Each method that represents a test step should be marked by the Step annotation. Use the "shared" attribute to use the same instance of a given step library class whenever this class is referred to. This is false by default. The "uniqueInstance" is no longer used. The optional actor attribute can be used to instantiate a String field called actor in a step library.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
actor
boolean
shared
boolean
uniqueInstance
Deprecated.
-
-
-
Element Detail
-
uniqueInstance
@Deprecated boolean uniqueInstance
Deprecated.- Default:
- false
-
-
-
actor
String actor
- Default:
- ""
-
-