Project

Profile

Help

Support #4977

closed

Need to integrate XQJ tests into automated test scripts

Added by Michael Kay almost 3 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Low
Category:
-
Sprint/Milestone:
-
Start date:
2021-04-24
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

XQJ comes with a set of JUnit tests which we should integrate into our build and release scripts.

We have a copy of the tests in tools/xqj/tck and they are run via a main program at com.oracle.xqj.tck.AllTestsSaxon.

This refers to a file /Users/mike/repo2/lib/xqj-final/tck/examples/saxon.properties which can be found in the current repo at tools/xqj/tck/examples/saxon.properties

Note that the TCK is issued subject to license conditions which do not allow modification - we're not allowed to upgrade them to JUnit5!

Actions #1

Updated by Michael Kay almost 3 years ago

I've just checked he TCK license and it says:

You are hereby granted a personal, non-transferable and non-sublicenseable, nonexclusive, world-wide, royalty free license to use the Technology Compatibility Kit (including software and documentation) (the “TCK”) solely for the purpose of testing compliance with the relevant portions of specifications or standards to which it applies (the “Specification”). You may not modify or create derivative works of any of the TCK except as is necessary to fulfill the purpose described above.

I think that a conversion to JUnit5 is permitted under these rules. In any case, no-one is likely to object.

Actions #2

Updated by Michael Kay over 2 years ago

  • Tracker changed from Bug to Support
  • Assignee changed from Michael Kay to Norm Tovey-Walsh
Actions #5

Updated by Norm Tovey-Walsh about 1 year ago

I made some progress, but they don't play nicely with Java 11, so I think I've removed them again. Given that we're not allowed to change them and they don't work with Java 11, I'm not sure exactly what to do.

Actions #6

Updated by Norm Tovey-Walsh 6 months ago

  • Status changed from New to Closed

Maybe I was just confused. I've put them back in and I think they run successfully.

Please register to edit this issue

Also available in: Atom PDF