generated from moderneinc/rewrite-recipe-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NOT-IMPLEMENTED.md
157 lines (141 loc) · 4.48 KB
/
NOT-IMPLEMENTED.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
The following is a list of `@org.testng.annotations.Test` annotation attributes for which
there is no clear plan on how to migrate them yet.
Any contributions or suggestions for equivalents in a JUnit5 test setup are welcome.
- ```java
/**
* The list of groups this method depends on. Every method member of one of these groups is
* guaranteed to have been invoked before this method. Furthermore, if any of these methods was
* not a SUCCESS, this test method will not be run and will be flagged as a SKIP.
*
* @return the value
*/
String[] dependsOnGroups() default {};
```
- ```java
/**
* The list of methods this method depends on. There is no guarantee on the order on which the
* methods depended upon will be run, but you are guaranteed that all these methods will be run
* before the test method that contains this annotation is run. Furthermore, if any of these
* methods was not a SUCCESS, this test method will not be run and will be flagged as a SKIP.
*
* <p>If some of these methods have been overloaded, all the overloaded versions will be run.
*
* @return the value
*/
String[] dependsOnMethods() default {};
```
- ```java
/**
* The maximum number of milliseconds that the total number of invocations on this test method
* should take. This annotation will be ignored if the attribute invocationCount is not specified
* on this method. If it hasn't returned after this time, it will be marked as a FAIL.
*
* @return the value (default 0)
*/
long invocationTimeOut() default 0;
```
- ```java
/**
* The number of times this method should be invoked.
*
* @return the value (default 1)
*/
int invocationCount() default 1;
```
- ```java
/**
* The size of the thread pool for this method. The method will be invoked from multiple threads
* as specified by invocationCount. Note: this attribute is ignored if invocationCount is not
* specified
*
* @return the value (default 0)
*/
int threadPoolSize() default 0;
```
- ```java
/**
* The percentage of success expected from this method.
*
* @return the value (default 100)
*/
int successPercentage() default 100;
```
- ```java
/**
* If set to true, this test method will always be run even if it depends on a method that failed.
* This attribute will be ignored if this test doesn't depend on any method or group.
*
* @return the value (default false)
*/
boolean alwaysRun() default false;
```
- ```java
/**
* The name of the suite this test class should be placed in. This attribute is ignore if @Test is
* not at the class level.
*
* @return the value (default empty)
*/
String suiteName() default "";
```
- ```java
/**
* The name of the test this test class should be placed in. This attribute is ignore if @Test is
* not at the class level.
*
* @return the value (default empty)
*/
String testName() default "";
```
- ```java
/**
* If set to true, all the methods on this test class are guaranteed to run in the same thread,
* even if the tests are currently being run with parallel="true".
*
* <p>This attribute can only be used at the class level and will be ignored if used at the method
* level.
*
* @return true if single threaded (default false)
*/
boolean singleThreaded() default false;
```
- ```java
/**
* The name of the class that should be called to test if the test should be retried.
*
* @return String The name of the class that will test if a test method should be retried.
*/
Class<? extends IRetryAnalyzer> retryAnalyzer() default DisabledRetryAnalyzer.class;
```
- ```java
/**
* If true and invocationCount is specified with a value > 1, then all invocations after a
* failure will be marked as a SKIP instead of a FAIL.
*
* @return the value (default false)
*/
boolean skipFailedInvocations() default false;
```
- ```java
/**
* If set to true, this test will run even if the methods it depends on are missing or excluded.
*
* @return the value (default false)
*/
boolean ignoreMissingDependencies() default false;
```
- ```java
/**
* The scheduling priority. Lower priorities will be scheduled first.
*
* @return the value (default 0)
*/
int priority() default 0;
```
- ```java
/**
* @return - An array of {@link CustomAttribute} that represents a set of custom attributes for a
* test method.
*/
CustomAttribute[] attributes() default {};
```