You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Gil Portenseigne (Jira)" <ji...@apache.org> on 2024/04/05 10:24:00 UTC

[jira] [Closed] (OFBIZ-12985) Integration Groovy tests fail

     [ https://issues.apache.org/jira/browse/OFBIZ-12985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gil Portenseigne closed OFBIZ-12985.
------------------------------------
    Resolution: Fixed

Closing since last buildbot is ok. Thanks Jacques !

> Integration Groovy tests fail
> -----------------------------
>
>                 Key: OFBIZ-12985
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12985
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS, ALL PLUGINS
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Priority: Blocker
>             Fix For: Upcoming Branch
>
>
> Groovy testIntegration, tests suites and tests cases no longer work
> For my own help here is a simple case to test
> bq. "ofbiz --test component=accounting --test suitename=invoicetests --test testcase=invoice-per-shipment-tests"
> It seems testIntegrations work but when you look at the log you find a lot of (46, barely same than number of files: 44, did not digg more) "Unable to load test suite class" errors like this 1st one:
> {noformat} 
> |ModelTestSuite|E|Unable to load test suite class : org.apache.ofbiz.party.PartyTests|
> {noformat} 
> You can find that in last ofbizTrunkFrameworkPlugins BB build: [https://ci2.apache.org/#/builders/46/builds/777]
> The result seems successful. It's a misleading testIntegration result (not sure what does that) and an already old one. TestIntegrations still work in 18.12 and the issue is somehow related to OFBIZ-12813.
> It's a really confusing situation. Several issues prevent Groovy tests to work.
> The reason is due to wrong Groovy tests package names and locations due to OFBIZ-12813
> If we refer to our way of naming packages they are correctly referenced in testdef (eg org.apache.ofbiz.accounting vs org.apache.accounting.accounting)
> So it's only a simple packages names and locations changes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)