AKSW / RDFUnit

An RDF Unit Testing Suite
http://RDFUnit.aksw.org
Apache License 2.0
150 stars 40 forks source link

Resource Filtering #50

Closed pepperbob closed 9 years ago

pepperbob commented 9 years ago

While writing input/drafts for #49 we encountered issues with writing Tests. Problem is that the Module rdfunit-resources is required but this won't work unless Maven copied certain resources from the /configuration folder to the appropriate package in /rdfunit-resources/src/main/resources.

To run Unit-Tests without the requirement to invoke Maven beforehand, specific resources should be maintained in the rdfunit-resources module directly instead of /configuration.

pepperbob commented 9 years ago

Just noticed the data/tests folder is part of the artifact of rdfunit-resources; is this how it's meant to be?

jimkont commented 9 years ago

On every re-build all patterns/generators and manual tests are copied to related java resources folders. This was done to make it easier for people to locate specific files. e.g.

This can be inconvenient a few times but didn't find a better alternative so far. Suggestions are of course welcome

dhiller commented 9 years ago

Wouldn't it be better if the files are found where they should reside, and the README documents where they are? This way you could just skip the copy-resources.

jimkont commented 9 years ago

No strong opinion so fine by me. See you already work on a PR on this, feel free to submit :)