SWI-Prolog Did You Know Did you know? SWI-Prolog has a unit test framework Search Documentation:
Predicate output/2