Skip to content

Commit cd7bfac

Browse files
authored
add allure id annotation (via allure-framework#298)
1 parent 3fcc058 commit cd7bfac

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package io.qameta.allure;
2+
3+
import java.lang.annotation.Documented;
4+
import java.lang.annotation.ElementType;
5+
import java.lang.annotation.Inherited;
6+
import java.lang.annotation.Retention;
7+
import java.lang.annotation.RetentionPolicy;
8+
import java.lang.annotation.Target;
9+
10+
/**
11+
* Used by Allure Enterprise to link test cases with related test methods.
12+
*/
13+
@Documented
14+
@Inherited
15+
@Retention(RetentionPolicy.RUNTIME)
16+
@Target({ElementType.METHOD})
17+
public @interface AllureId {
18+
19+
String value();
20+
21+
}

0 commit comments

Comments
 (0)