On 16/02/13 10:38, Claude Warren wrote:
I know I have seen a note on this before but I can't find it, so here goes.
I am looking for the files found in the jena-core/testing directory tree
preferably as a bundle that can be retrieved using maven.
Any assistance would be appreciated.
-- Claude
My comment copied from JENA-397 --
There isn't a promise to be run the tests outside the development
environment. A long time ago, Jena used to ship with a setup to run the
tests on the download system. All it turned up that I can recall were
environment problems unrelated to Jena testing.
The expectation today is that if you want to run the tests, then you use
the SVN codebase or the source-release zip file.
The source-release zip file is true product of the release and the only
item that is the master file.
The "tests"/"test-sources" artifact fulfils a different purpose - there
is testing code in core and ARQ that mean a subsystem like TDB can run
some tests, like basic graph tests, on it's implementation of graph. The
way we get that to work with maven is to use "test" classifier which
passes the material from one module to another without every use of the
main jar needing the testing code.
e.g. TDB, Fuseki and SDB do not have "tests"/"test-sources" jar files.
Core and ARQ do.
The files under /testing do not have the license header (the one line
version would be sufficient IMO if shipped ) because the files are small
and it gets in the way of clear testing. Sometimes, you want an empty
file! Also, much of the material under /testing is not Apache Licensed
(there should be LICENSE files in the appropriate places). All material
from a W3C working group is licensed under the W3C software license;
unfortunately, W3C, in the past, has not taken the care to mark the
files themselves. (Things are better nowadays.)