Downloads: 1043
Rating:
Participated in rating: 2
Recent change notes:
Initial Version
- Spring Bean name completion for @SpringBean
- Dataset xml file completion for @DataSet
- Annotator support for Spring bean reference by @SpringBean, @SpringBeanByName and @SpringBeanByType
- Annotator support for dataset xml reference by @DataSet
- Auto dataset xml file creation by click annotator icon
- Navigation easy for Unitils
Comments:
One question though - when using @DataSet why it creates/looks for a related dataset xml in the same source folder as the java-file located? It is a common practice to split sources between several directories, e.g. /src/main/java and /src/main/resources, like that.
I build with Maven and normally it doesn\'t expect xml files to be located under /java folder, but /resources, so my tests fail. Moving dataset xml to /resources folder (which is also marked as source folder in IDEA project settings) resolves the problem with Maven and the tests passes, but the dataset xml file is not resolved by Unitils-plugin anymore.
The plugin should look for a dataset files through the whole classpath, but not only in one single directory.
BR, Alex.
One question though - when using @DataSet why it creates/looks for a related dataset xml in the same source folder as the java-file located? It is a common practice to split sources between several directories, e.g. /src/main/java and /src/main/resources, like that.
I build with Maven and normally it doesn\'t expect xml files to be located under /java folder, but /resources, so my tests fail. Moving dataset xml to /resources folder (which is also marked as source folder in IDEA project settings) resolves the problem with Maven and the tests passes, but the dataset xml file is not resolved by Unitils-plugin anymore.
The plugin should look for a dataset files through the whole classpath, but not only in one single directory.
BR, Alex.