Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Upcoming Branch
-
None
Description
As mentionned in OFBIZ-12985 after OFBIZ-12813 the Groovy tests fail.
There are severtal aspects, at least for now:
- structures (folders used and references to them);
- compilation (since
OFBIZ-11165Groovy tests must be compiled); - migration from XML to Groovy specific errors
About point 1 and 2, it turns out to be that the folders used don't allow compilation.
So, unlike unit tests ModelServiceTest.groovy, TestServices.groovy and FileUtilTests.groovy put in sourcesets/test, integration tests must be in sourcesets/main folders. Their references should be changed too.
This is a subtask for the accounting component. The only changes are to move Groovy tests to main and to accordingly change the references in applications/accounting/testdef/ files.
This fixes the inability to find the files where they are expected. Remains few issues related to the point 3.
This can be easily tested using gradlew "ofbiz --test component=accounting"