spring-boot/spring-boot-project/spring-boot-test
Phillip Webb 41e0bbf4bb Add SpringBootTest.useMainMethod support
Add a new `useMainMethod` attribute to `SpringBootTest` which can be
used to determine how the test should run. The three available options
are:

	- `ALWAYS`
	- `NEVER`
	- `WHEN_AVAILABLE`

The default is `WHEN_AVAILABLE` which will attempt to launch the test
using the `main` method if there is one.

The `SpringBootContextLoader` has been updated to use the new
`SpringApplicationHook` interface when the main method is being used.

Closes gh-22405
2022-09-14 22:37:37 -07:00
..
src Add SpringBootTest.useMainMethod support 2022-09-14 22:37:37 -07:00
build.gradle Reinstate Spring for GraphQL auto-configuration 2022-08-01 14:33:25 +02:00