[jira] [Created] (XERCESJ-1796) Convert tests to JUnit

"Elliotte Rusty Harold (Jira)" <[email protected]> Sat, 25 Apr 2026 15:04:00 +0000 (UTC)
Newsgroups gmane.text.xml.xerces-j.devel
Message-ID <[email protected]>
Elliotte Rusty Harold created XERCESJ-1796:
----------------------------------------------

             Summary: Convert tests to JUnit
                 Key: XERCESJ-1796
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1796
             Project: Xerces2-J
          Issue Type: Improvement
            Reporter: Elliotte Rusty Harold


Most of the tests use a very old-fashioned (1990s) approach to testing that relies on running code with main() methods. JUnit tests we do have don't seem to run as part of the build. Convert these to automated JUnit tests. 

Before undertaking note what is not being asked for here and should not be done as part of resolving this issue:

1. Converting the build system to Maven or anything other than ant
2. Upgrading JUnit tests to annotation based JUnit 4 tests and certainly not upgrading to JUnit 5
3. Refactoring non-test code






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