spring-boot/spring-boot-tests
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
..
spring-boot-deployment-tests/src/intTest/resources Test servlet 3.1 compatibility in deployment tests 2021-12-09 12:24:43 +00:00
spring-boot-integration-tests Upgrade to JUnit Jupiter 5.9.0 2022-09-14 15:18:40 +02:00
spring-boot-smoke-tests Add SpringBootTest.useMainMethod support 2022-09-14 22:37:37 -07:00