com.tngtech.jgiven.integration.spring.EnableJGiven Maven / Gradle / Ivy
package com.tngtech.jgiven.integration.spring;
import java.lang.annotation.*;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
/**
* Enables JGiven's spring support. To be used on @{@link Configuration} classes as follows:
*
*
* @Configuration
* @EnableJGiven
* public class AppConfig {
* ...
* }
*
*
* @since 0.9.4
*/
@Target( ElementType.TYPE )
@Retention( RetentionPolicy.RUNTIME )
@Import( JGivenSpringConfiguration.class )
@Documented
public @interface EnableJGiven {
}