Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 59427
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: avar [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 3.21
Fixed in: (no value)



Subject: prove: Print a test summary even if the test run is interrupted
It would be nice when you hit Crtl-C that you would get a test summary of the things that have been tested so far, sans the stuff that failed horribly at the end just as it got a SIGINT. It'd be very useful for long-running test suites like Git and Rakudo where you might notice a bunch of fails, know that it's enough to signal trouble. But would still like a summary of the stuff that went wrong without waiting 10 more minutes for the tests to finish. The workaround is to just do prove -v in the first place and then backtrack in your terminal, which isn't optimal.
Thanks! I've added a --trap option to prove in http://github.com/AndyA/Test- Harness/commit/5b6ecf9abbf25f818e1b56c44db3429a06f03203