Slide 38
Slide 38 text
ApplicationContextRunner
● Test utility to prepare a mini ApplicationContext suitable for a very precise
scenario:
● Specific auto-configuration(s)
● User configuration, if any
● Environment tuning (properties customization)
● System properties handling
● Starts/Stop the context automatically with a ContextConsumer callback
● AssertJ style assert
● hasSingleBean, doesNotHaveBean, hasFailed
● getBean, getBeans, etc