org.springframework.boot.test.autoconfigure.web.reactive

Annotation Type WebFluxTest

    • Element Detail

      • value

        @AliasFor(value="controllers")
        public abstract Class<?>[] value
        Specifies the controllers to test. This is an alias of controllers() which can be used for brevity if no other attributes are defined. See controllers() for details.
        Returns:
        the controllers to test
        See Also:
        controllers()
        Default:
        {}
      • controllers

        @AliasFor(value="value")
        public abstract Class<?>[] controllers
        Specifies the controllers to test. May be left blank if all @Controller beans should be added to the application context.
        Returns:
        the controllers to test
        See Also:
        value()
        Default:
        {}
      • useDefaultFilters

        public abstract boolean useDefaultFilters
        Determines if default filtering should be used with @SpringBootApplication. By default only @Controller (when no explicit controllers are defined), @ControllerAdvice and WebFluxConfigurer beans are included.
        Returns:
        if default filters should be used
        See Also:
        includeFilters(), excludeFilters()
        Default:
        true
      • includeFilters

        public abstract ComponentScan.Filter[] includeFilters
        A set of include filters which can be used to add otherwise filtered beans to the application context.
        Returns:
        include filters to apply
        Default:
        {}
      • excludeFilters

        public abstract ComponentScan.Filter[] excludeFilters
        A set of exclude filters which can be used to filter beans that would otherwise be added to the application context.
        Returns:
        exclude filters to apply
        Default:
        {}