Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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