Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Upcoming Branch
    • Upcoming Branch
    • accounting
    • None

    Description

      As mentionned in OFBIZ-12985 after OFBIZ-12813 the Groovy tests fail.

      There are severtal aspects, at least for now:

      1. structures (folders used and references to them);
      2. compilation (since OFBIZ-11165 Groovy tests must be compiled);
      3. 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"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            jleroux Jacques Le Roux
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment