PlUnit and restricting tests to one of a forall
Andrae Muys <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAOz2y9thHYBNE3oEf_chgyBbAH8AJrqVht=E1enLAUE0+3GOHQ@mail.gmail.com> |
I have a number of PlUnit tests that run the same sequence of
operations over pairs of input/output files I have declared using the
forall/1 option to test/2.
ie.
etfile('basic.ttl', 'basic_out.ttl').
etfile('basic_bnode.ttl', 'basic_bnode_out.ttl').
etfile('has_transcript.ttl', 'has_transcript_out.ttl').
etfile('depicts_building.ttl', 'depicts_building_out.ttl').
test(entailment, [
setup(init_ont),
cleanup(rdf_reset_db),
forall(etfile(InFile, OutFile)) ]) :-
...
run_tests/1 allows me to restrict the test run to just this test, but
I would like to be able to restrict it to a single instance of the
forall without editing the test_file. Is this possible?
Cheers,
Andrae
--
Andrae Muys
e:[email protected]
t:@etymon
b:http://etymon.blogspot.com