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
Download (untitled) / with headers
text/plain 577b
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.
Download (untitled) / with headers
text/plain 133b
Thanks! I've added a --trap option to prove in http://github.com/AndyA/Test- Harness/commit/5b6ecf9abbf25f818e1b56c44db3429a06f03203


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.