Package guru.mikelue.foxglove.springframework
package guru.mikelue.foxglove.springframework
Spring Framework integration for Foxglove.
Use
Add
You can use one of the following ways to enable Foxglove test features in Spring-based tests.
Use EnableFoxglove
@EnableFoxglove
@ContextConfiguration(classes = {AppConfig.class})
public class SomeTest {}
Add FoxgloveTestListener to TestExecutionListeners
@TestExecutionListeners(
listeners = FoxgloveTestListener.class,
mergeMode = TestExecutionListeners.MergeMode.MERGE_WITH_DEFAULTS
)
@ContextConfiguration(classes = {AppConfig.class})
public class SomeTest {}
- See Also:
-
ClassDescriptionComposite annotation to enable Foxglove test features.This listener resolving
TableFacetsSourceandDataGeneratorSourcein Spring's Context framework of test first.