Need to integrate XQJ tests into automated test scripts
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!
Updated by Michael Kay about 1 year 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.
Please register to edit this issue