The only option is to create two different sets of files from spring config. If beans are defined in both sets of files, it will associate beans with both sets of files. Obviously, I donβt think that it (or any IDE) is able to resolve if it should use basic / test filesets based on your code. We hope that they will improve the resolution of the sprint (set of files) based on the code code (source / test). But it will be difficult for the IDE, as the main business logic gets into the main context during the flow.
Rajendra
source share