5 Testing the RDF translator
A test-suite and driver program are provided by rdf_test.pl
in the source directory. To run these tests, load this file into Prolog
in the distribution directory. The test files are in the directory
suite and the proper output in suite/ok.
Predicates provided by rdf_test.pl:
- suite(+N)
- Run test N using the file
suite/tN.rdfand display the RDF source, the intermediate Prolog representation and the resulting triples. - passed(+N)
- Process
suite/tN.rdfand store the resulting triples insuite/ok/tN.plfor later validation by test/0. - test
- Run all tests and classify the result.