This is not a pull request because it's a proof of concept. This branch allows you to pass a verbose switch to the constructor to make it easier to see class and method names while running in non-verbose mode. I've often wanted that and in this case, it's because of this:
$ prove t/tcm.t
t/tcm.t .. 283/303
That was my tests hanging on test 283, but having no real way of knowing which test it was. Running the full test suite in verbose mode solved that, but it would be nice to see test progress without full verbose mode.
Thus, the branch I pushed allows that, but the output is very ugly. Further, I'm not familiar with the new Test::Builder, so the tests were mystifying to me. Thus, there's code and docs, but no tests. However, it runs just fine on my test suite.
This ticket is more for discussion than for merging the code (unless you think it's useful enough for that).
This is not a pull request because it's a proof of concept. This branch allows you to pass a
verboseswitch to the constructor to make it easier to see class and method names while running in non-verbose mode. I've often wanted that and in this case, it's because of this:That was my tests hanging on test 283, but having no real way of knowing which test it was. Running the full test suite in verbose mode solved that, but it would be nice to see test progress without full verbose mode.
Thus, the branch I pushed allows that, but the output is very ugly. Further, I'm not familiar with the new
Test::Builder, so the tests were mystifying to me. Thus, there's code and docs, but no tests. However, it runs just fine on my test suite.This ticket is more for discussion than for merging the code (unless you think it's useful enough for that).