spring-boot/spring-boot-project
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 Provide a public API for SpringApplication hooks 2022-09-14 22:34:50 -07:00
spring-boot-actuator Adapt to API change in Spring Framework 2022-09-12 15:39:03 +02:00
spring-boot-actuator-autoconfigure Adapt to API change in Spring Framework 2022-09-12 10:13:03 +02:00
spring-boot-autoconfigure Deprecate spring.mvc.ignore-default-model-on-redirect property 2022-09-14 13:49:03 -07:00
spring-boot-cli Remove rarely used commands from the CLI 2022-09-08 21:23:33 +01:00
spring-boot-dependencies Upgrade to REST Assured 5.2.0 2022-09-14 15:57:03 +02:00
spring-boot-devtools Generate the AutoConfiguration.imports file from annotations 2022-09-02 15:10:22 -05:00
spring-boot-docs Add SpringBootTest.useMainMethod support 2022-09-14 22:37:37 -07:00
spring-boot-parent Build with Gradle 7.5 while still supporting Gradle 6.8+ 2022-09-09 15:13:43 +01:00
spring-boot-properties-migrator Use pattern matching for instanceof where appropriate 2022-06-20 17:55:36 +01:00
spring-boot-starters Add Maven plugin support for processing test contexts Ahead-of-time 2022-08-30 20:41:30 -07:00
spring-boot-test Add SpringBootTest.useMainMethod support 2022-09-14 22:37:37 -07:00
spring-boot-test-autoconfigure Avoid returning null from TestContext.getTestClass() 2022-09-13 17:41:06 +01:00
spring-boot-tools Include 'classesDirectory' in ProcessTestAotMojo classpath 2022-09-14 13:50:27 -07:00