Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Jena 3.15.0
-
None
Description
Tests driven by manifest files use JUnit3 TestSuite features to build the test tree. There isn't an equivalent facility in JUnit4 but JUnit4 includes a copy of JUnit3.
Construction of tests using JUnit3 TestSuite is used in:
- jena-core: for legacy Turtle parser (minor, used for jena-core tests)
- jena-arq - SPARQL and RIOT tests
- jena-tdb, jena-tdb2.
- jena-sdb
- jena-iri
This ticket is to replace the JUnit3 features with JUnit4 runners in jena-arq, jena-tdb and jena-tdb2 (the majority of the usage, counting test numbers)
jena-core will be left alone (the legacy Turtle parser exists to parse jena-core test data e.g.assemblers).
jena-iri will be left alone.
jena-sdb is complex because tests also use a list of store configurations so do not naturally fit into the Runners needed for manifests. Code will be copied into jena-sdb to keep the existing scripted tests working using JUnit3 style.