You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2024/04/04 16:46:00 UTC
[jira] [Created] (OFBIZ-12995) Fix Accounting Groovy tests
Jacques Le Roux created OFBIZ-12995:
---------------------------------------
Summary: Fix Accounting Groovy tests
Key: OFBIZ-12995
URL: https://issues.apache.org/jira/browse/OFBIZ-12995
Project: OFBiz
Issue Type: Bug
Components: accounting
Affects Versions: Upcoming Branch
Reporter: Jacques Le Roux
Assignee: Jacques Le Roux
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)