Re: Testing Output and Functionality

2012-04-23 Thread Andy Lester
On Apr 23, 2012, at 11:35 PM, Jed Lund wrote: > that element of code? I have been hunting around CPAN for the right fit > but so far I have only found STDERR/STDOUT tests or functionality tests not > a way to test both results from the same method call. Sounds like you're looking for Test::Out

Testing Output and Functionality

2012-04-23 Thread Jed Lund
Hello, I was wondering if I could get some pointers towards a module or package that would allow me to test the functionality of various elements of code that I was developing while I also tested the STDERR and STDOUT output from that element of code? I have been hunting around CPAN for the right

use_ok tasks

2012-04-23 Thread Michael G Schwern
I've cut three tasks related to the use_ok() discussion, should people be interested in doing some small work to that end. Revert use_ok() back to its 0.98 features https://github.com/schwern/test-more/issues/287 Discourage use_ok() in the docs https://github.com/schwern/test-more/issues/288 Add

Re: Revert use_ok() change to allow lexical effects?

2012-04-23 Thread Michael G Schwern
On 2012.4.14 4:03 AM, Aristotle Pagaltzis wrote: >> Which is a bit of a mouthful. Providing a function to get at the >> history object would make a bunch of test state introspection easier. >> >># That looks pretty good. >>END { BAIL_OUT() unless test_history->test_was_successful } > > I