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 like that.

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

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