@Documented @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Bundle
A meta-annotation that identifies an annotation as test bundle. This annotation provide the ability to bundle one or more Testify annotations in a reusable manner and avoid annotation bloat. Example:
@Bundle
@Module(MyModule.class)
@VirtualResource("postgres")
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface IntegrationBundle { }
@IntegrationBundle
@RunWith(IntegrationTest.class)
public class MyServiceIT {
...
}
Copyright © 2016–2018 Testify Project. All rights reserved.