[ https://issues.apache.org/jira/browse/OFBIZ-12985 ]


    Jacques Le Roux deleted comment on OFBIZ-12985:
    -----------------------------------------

was (Author: jacques.le.roux):
The problem is when reading the testdef files, not only invoicetests.xml (not 
changed for years) but for instance also fixedassettests.xml (both valid). Not 
sure why yet...

> 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)

Reply via email to