The tests are using JUnit Suite to ensure that they are executed in the correct order. This is done so that we can test how Application Contexts are created, cached and reused.
Best,
Nikola
Nikola Koevski
added a comment - Note to reviewer:
The tests are using JUnit Suite to ensure that they are executed in the correct order. This is done so that we can test how Application Contexts are created, cached and reused.
Best,
Nikola
The ticket also renames test/resources/application.properties to application-default.properties. The reason for this is that the application.properties file defines "global" properties that are included with every profile. To have a default properties file (when no profile is selected), an application-default.properties file needs to be created.
Nikola Koevski
added a comment - The ticket also renames test/resources/application.properties to application-default.properties . The reason for this is that the application.properties file defines "global" properties that are included with every profile. To have a default properties file (when no profile is selected), an application-default.properties file needs to be created.
Yana Vasileva
added a comment - Spring Boot docs for the Profile-Specific Properties: https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/reference/html/boot-features-external-config.html#boot-features-external-config-profile-specific-properties
Note to reviewer:
The tests are using JUnit Suite to ensure that they are executed in the correct order. This is done so that we can test how Application Contexts are created, cached and reused.
Best,
Nikola