I'm writing an integration testing framework, and in my parent test class I have the following:
@ContextConfiguration(loader = AnnotationConfigContextLoader.class)
public abstract class IntegrationTestParent extends AbstractTestNGSpringContextTests {
...
@Configuration
@EnableAutoConfiguration
@ComponentScan("redacted")
public static class AutomationTestConfig {
}
}
Which allows me a great deal of flexibility, however, I've noticed that my custom banner.txt
file is no longer printed out, nor is my application.properties file (which sets spring.output.ansi.enabled=ALWAYS
and some maven filtered application variables) being read.
In addition to some really leet figlet generated ascii art, it printed out a lot of convenient debug information about the JVM and various system and environment properties so I had a really good idea about the remote environments (a la Jenkins and Bamboo or anyone's arbitrary laptop) they were running on.
Is there a way to get this to behavior in addition to @ContextConfiguration(loader = AnnotationConfigContextLoader.class)
?