Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
Upcoming Branch
-
None
Description
Groovy testIntegration, tests suites and tests cases no longer work
For my own help here is a simple case to test
"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:
|ModelTestSuite|E|Unable to load test suite class : org.apache.ofbiz.party.PartyTests|
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.
Attachments
1.
|
Fix Accounting Groovy tests | Closed | Jacques Le Roux | |
2.
|
Fix Partymgr Groovy tests | Closed | Gil Portenseigne | |
3.
|
Fix Product Groovy tests | Closed | Gil Portenseigne | |
4.
|
Fix Order Groovy tests | Closed | Gil Portenseigne | |
5.
|
Fix Marketing Groovy tests | Closed | Jacques Le Roux | |
6.
|
Fix Base Groovy tests | Closed | Jacques Le Roux | |
7.
|
Fix Assetmain Groovy tests | Closed | Jacques Le Roux | |
8.
|
Fix Ecommerce Groovy tests | Closed | Gil Portenseigne |