Skip to main content
View as Markdown

Testing history

This page records how testing in iDempiere changed over time, so you can tell current practice from old advice. The facts come from the core Git history and the linked JIRA tickets.

Summary​

PeriodApproach
Before 2020Mostly manual. FitNesse and Selenium were tried, but few tests were written
2020 to 2024One JUnit 5 bundle on a real Garden World database becomes the standard
2025 onwardMockito, coverage measurement, more tests asked for in review, Playwright planned

Before 2020: early attempts​

DateChangeTicket
2006 to 2010ADempiere-era JUnit 3/4 tests, mostly in org.adempiere.extend. Rarely run or maintained
Nov 2012FitNesse integration in coreIDEMPIERE-206
Dec 2012Selenium integration for the ZK client (org.idempiere.ui.zk.selenium)IDEMPIERE-92
2013Load tests of the ZK client with JMeterIDEMPIERE-876
Dec 2019FitNesse and Selenium moved out of coreIDEMPIERE-4138

2020 to 2024: the JUnit 5 suite​

DateChangeTicket
Apr 2020Old ADempiere tests removed from org.adempiere.extendIDEMPIERE-4199
May 2020New bundle org.idempiere.test with JUnit 5, Tycho Surefire and AbstractTestCaseIDEMPIERE-4289
May 2020Better Garden World test dataIDEMPIERE-4297
Aug 2020Unit tests run in the Jenkins daily jobsIDEMPIERE-2830
Oct 2020org.idempiere.test-feature added
Nov 2021"Improve Unit Tests" umbrella ticketIDEMPIERE-5063
Feb 2022Test coverage configuration in the Eclipse launchIDEMPIERE-5183
Jun 2022Shared DictionaryIDs constants replace raw IDs in testsIDEMPIERE-5320
Aug 2022Parallel test execution supportIDEMPIERE-5391
Sep 2022Pull request template with a "Tests" section
Jun 2023org.idempiere.test-feature includes org.idempiere.test, so others can run the tests from the command lineIDEMPIERE-5762

2025 onward: isolation, coverage and browser tests again​

DateChangeTicket
Mar 2025Mockito supportIDEMPIERE-6468
Jun 2025Mockito.mockStatic used to avoid records created outside the test transactionIDEMPIERE-6594
Aug 2025Test coverage push for org.adempiere.base (PO, Env, DB, GridTab, Cache, Trx, MRole)IDEMPIERE-6647
Nov 2025Community Testing Days with a shared library of manual test cases
Dec 2025JaCoCo aggregate coverage report (coverage-report module)IDEMPIERE-6784
Sep 2026Playwright test suite proposed (open)IDEMPIERE-7119
Oct 2026AI agent skill idempiere-unit-tests in the core repositoryIDEMPIERE-7109

Growth of the test suite​

Approximate number of files with "Test" in their name in org.idempiere.test at the end of each year (a few helper classes are included):

YearFiles
202021
202149
202276
202387
202496
2025133
2026 (November)187

In November 2026 the bundle has about 1,700 test methods, and about 150 test classes extend AbstractTestCase.

Back to the start​

Testing overview