[ https://issues.apache.org/jira/browse/OFBIZ-12995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834219#comment-17834219 ]
Gil Portenseigne commented on OFBIZ-12995: ------------------------------------------ Hi Jacques, do you need some help ? I'll have a look, if that is ok for you :) > Fix Accounting Groovy tests > --------------------------- > > Key: OFBIZ-12995 > URL: https://issues.apache.org/jira/browse/OFBIZ-12995 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: Upcoming Branch > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Major > Fix For: Upcoming Branch > > > 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-11165 Groovy 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 message was sent by Atlassian Jira (v8.20.10#820010)