@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @ExtendWith(value=NutzBootExtension.class) public @interface NutzBootTest
| 限定符和类型 | 可选元素和说明 |
|---|---|
String[] |
args
Application arguments that should be passed to the application under test.
|
Class<?>[] |
classes |
String[] |
properties
Properties in form key=value that should be added to the Nutzboot
Environment before the test runs.
|
String[] |
value
Alias for
properties(). |
NutzBootTest.WebEnvironment |
webEnvironment
The type of web environment to create when applicable.
|
public abstract String[] value
properties().public abstract String[] properties
public abstract String[] args
public abstract Class<?>[] classes
public abstract NutzBootTest.WebEnvironment webEnvironment
NutzBootTest.WebEnvironment.MOCK.Copyright © 2020. All rights reserved.