Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1922

Remove use of JUnit3 for manifest driven tests.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.15.0
    • Jena 3.16.0
    • ARQ, TDB, TDB2
    • 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.

       

       

      Attachments

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m