com.tngtech.jgiven.integration.spring.EnableJGiven Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jgiven-spring Show documentation
Show all versions of jgiven-spring Show documentation
Module for using Spring dependency injection together with JGiven
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 {
}