All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tngtech.jgiven.integration.spring.JGivenSpringConfiguration Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.tngtech.jgiven.integration.spring;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * {@code @Configuration} class that registers all beans an post-processors
 * for full JGiven Spring support
 *
 * @since 0.9.4
 */
@Configuration
public class JGivenSpringConfiguration {

    @Bean
    public SpringStageCreator springStageCreator() {
        return new SpringStageCreator();
    }

    @Bean
    public static JGivenBeanFactoryPostProcessor jGivenPostBeanProcessor() {
        return new JGivenBeanFactoryPostProcessor();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy