@Documented @Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,TYPE}) @Repeatable(value=Modules.class) public @interface Module
| Modifier and Type | Required Element and Description |
|---|---|
Class<?> |
value
A value that represents a module class that should be loaded before each test run.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
test
An attribute that indicates whether the module is a for testing purpose.
|
public abstract Class<?> value
A value that represents a module class that should be loaded before each test run.
Please note that to encourage simplicity and modular design loading of modules is limited
to a single module class. If you absolutely need to load multiple modules this annotation
isrepeatable.
public abstract boolean test
Copyright © 2016–2018 Testify Project. All rights reserved.