You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ashishvijaywargiya (via GitHub)" <gi...@apache.org> on 2026/07/31 18:13:50 UTC
[PR] Migrate applications JUnit3 integration tests to JUnit5 (Jupiter) [ofbiz-framework]
ashishvijaywargiya opened a new pull request, #1541:
URL: https://github.com/apache/ofbiz-framework/pull/1541
I took care of the following work:
1) Migrated all 62 testdef-wired JUnit3 test classes across accounting, content, manufacturing, marketing, order, party, product, and
workeffort to Jupiter: extends OFBizTestCase/EntityTestCase ->
implements JupiterTestHelper, @JunitJupiterTest on the class, @Test (+ @Order matching declaration order for multi-method files) on each method, testdef <junit-test-suite> -> <jupiter-test-suite>.
2) Moved every migrated file still under src/main/{java,groovy} to src/test/{java,groovy} (manufacturing: 3 files, order: 5, product: 3 Java).
3) Fixed 8 pre-existing test-order-dependency bugs that JUnit 3's nondeterministic ordering had been masking, surfaced by Jupiter's deterministic @Order - each verified pre-existing before fixing, in manufacturing/ProductionRunTests, order/QuoteTests, party (3x), and product/ProductTest.
4) Dropped 4 dead no-op tearDown() overrides; reordered IssuanceTest.java's message-first JUnit3/4 assertions to JUnit 5's convention.
5) Left applications/accounting's orphaned FinAccountTests.java untouched - not wired to any testdef, out of scope.
6) Verified every migrated suite via scoped testIntegration runs, all passing with 0 failures/errors.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Migrate applications JUnit3 integration tests to JUnit5 (Jupiter) [ofbiz-framework]
Posted by "ashishvijaywargiya (via GitHub)" <gi...@apache.org>.
ashishvijaywargiya merged PR #1541:
URL: https://github.com/apache/ofbiz-framework/pull/1541
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org