Skip Menu |

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

Report information
The Basics
Id: 9599
Status: rejected
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: ssoriche [...] coloredblocks.net
Cc:
AdminCc:

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



Subject: Allow prove to run tests in the perl debugger
When writing tests and using prove -lv to test them it would be useful to tell prove to run the test file in the perl debugger. As part of test driven development, I'm often writing the tests along with the module itself. If the module tests aren't working as expected it would be great to debug it through prove. As it is now, I have to edit the test file to include use blib; then run make test, perl -d t/test.t. Using this method has already caused a number of problems. Thanks alot -- Shawn Sorichetti.
Subject: Allow prove to run tests in the perl debugger
When writing tests and using prove -lv to test them it would be useful to tell prove to run the test file in the perl debugger. As part of test driven development, I'm often writing the tests along with the module itself. If the module tests aren't working as expected it would be great to debug it through prove. As it is now, I have to edit the test file to include use blib; then run make test, perl -d t/test.t. Using this method has already caused a number of problems. Thanks alot -- Shawn Sorichetti.
From: thepler
[SSORICHE - Mon Jan 10 21:17:52 2005]: Show quoted text
> When writing tests and using prove -lv to test them it would be useful > to tell prove to run the test file in the perl debugger. As part of > test driven development, I'm often writing the tests along with the > module itself. If the module tests aren't working as expected it > would be great to debug it through prove. As it is now, I have to > edit the test file to include use blib; then run make test, perl -d > t/test.t. Using this method has already caused a number of > problems. > > Thanks alot
I would also like to see this feature added to prove. However, I'd like to see the -d flag work just like the perl -d flag. Specifically, so one could do something like: prove -d:ptkdb t/some_test.t and have the Tk debugger run for the test. BTW: this looks like a duplicate of Bug #9589 Thanks, Todd Hepler
From: thepler
I forgot to mention... This might conflict with the current meaning of the -d flag. If the meaning can't be changed, perhaps you can just pick some other flag for this functionality. Todd Hepler
I think we concluded that this wasn't likely to work - we can't really untangle the debuggers output from the TAP (which we capture).