Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 2.51 KB

README.md

File metadata and controls

61 lines (44 loc) · 2.51 KB

Validating Input Test Files

Validating XML test files

Validating HTML test files

Validating all test files

  • Make sure that XML and HTML validation described above works for you

  • Run 'ant' command in its2.0 directory

  • Please note that HTML schema doesn't supports RDFa so RDFa attributes are reported as errors

  • Please note that currently Schematron validation is not performed so some errors are not detected

Validating Output Test Files

To validate test suite output files simply compile the test suite dashboard (this will only work if you have java installed and saxon downloaded):

Explanations of states :

  • N/A = the implementer did not commit to run the test.
  • OK = the output file is identical to the reference output file.
  • error = an error occurred, e.g. the output file is not available or it is not identical to the reference output file. Move the mouse over error to see details.
  • fnf: the output file from the implementer has not been found.

Validating NIF output files

Prerequisites: Java and Unix Shell

  • create a temporary folder for output files (hence called $datafolder)
  • read ITS files from "its2.0/nif-conversion/input/" one by one, convert to NIF and write output files in turtle to $datafolder
  • go to directory cd its2.0/nif-conversion/sparqltest
  • run : ./executeAllTests.sh ../relative/pathTo/$datafolder

Explanations of output:

  • If no message appears between "Running: test1.sparql" and "Done: test1.sparql" the test was successfull.
  • Otherwise the output filename and additional debug output is shown.