Did you know? SWI-Prolog has a unit test frameworkSearch Documentation:
SWI-Prolog owl logoPredicate derive_predicate_options/0