when I run the tests I only get the number of the failure:
?- run_tests(sample).
[1-2/1] sample:all_foos ........................ **FAILED (0.000 sec)
ERROR: /tmp/sample.pl:14:
ERROR: test sample:all_foos: failed
[1-4/1] sample:all_foos ........................ **FAILED (0.000 sec)
ERROR: /tmp/sample.pl:14:
ERROR: test sample:all_foos: failed
ERROR: 2 tests failed
% 2 tests passed
% Test run completed in 0.016 seconds (0.013 cpu)
false.
I need to manually count from source to see which test is the [1-2/1].
For a larger suite with many test cases, it would be better to see the actual f(Name,Answer) that failed.
Thanks. That was also the intend, but it was broken in the rewrite supporting concurrent testing. Fixed and changed the report to print the generator rather than just its variable values as you suggest. So, now I get