[
https://issues.apache.org/jira/browse/JENA-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580172#comment-13580172
]
Andy Seaborne commented on 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.)
> testing files not included in the test jar
> ------------------------------------------
>
> Key: JENA-397
> URL: https://issues.apache.org/jira/browse/JENA-397
> Project: Apache Jena
> Issue Type: Bug
> Components: Build
> Affects Versions: Jena 2.10.0
> Reporter: Claude Warren
> Assignee: Claude Warren
> Labels: test
>
> The current 2.10 Snapshot test jar does not include the /testing directory
> files used by the tests.
> This makes the tests useless when used in other projects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira