Annotation configuration based TestContext [SPR-6567] #11233
Why don't you add AnnotationContextLoader that supports annotation configuration based TestContext.
for example. If there is an annotation configuration like this
and, at the same package, I can make test like this.
then, conventionally SpringJUnit4ClassRunner finds SpringAnnotationConfigTest + "AppConfig.java" for an annotation configuration.
Of course, It makes sence that we sould use 'locations' attribute of
with '.Java' locations can be used to AnnotationConfigurationApplicationContext.regist(), and without '.java' locations will be used to AnnotationConfigurationApplicationContext.scan().
What do you think about this?
Affects: 3.0 RC3
3 votes, 5 watchers
The text was updated successfully, but these errors were encountered: