@ContextConfigurationthe location attribute does not make sense for Spring testing integration with downloads. Is there any other way to reuse the application context in multiple test classes annotated with @SpringBootTest?
@ContextConfiguration
@SpringBootTest
Yes. In fact, this is the default behavior . The link points to Spring Framework Documents that are used by Spring Boot under the hood.
BTW, , @ContextConfiguration.
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
, . , .
Spring Boot @SpringBootTest, spring -test @ContextConfiguration, Spring Boot. , ApplicationContext, SpringApplication
Source: https://habr.com/ru/post/1677913/More articles:Difference between anyMatch and findAny in java 8 - javaIs Stream.findAny short circuit operation? - javaUsing the default function for an interface in Kotlin - kotlinHTML5 input date format with angular scope - javascriptRunning an EMR job from an ECS Docker container - amazon-emrSqlite on Azure: сервер не найден или недоступен - sqliteHeadless / Unleashed CMS Offers - content-management-systemWhat allocates char * do size memory? - cSwift 3 - Filter and sort an array of dictionaries by dictionary values with values from an array - dictionaryStackoverflowExcepton in Spring i18n Message ReloadableResourceBundleMessageSource - javaAll Articles