On 16 April 2010 13:20, Steve Bertrand <st...@ibctech.ca> wrote: > I use prove often, usually when I want to quickly and non-verbosely (-Q) > work with a single test file that I'm currently adding new tests to, or > to ensure existing tests still pass if making changes to a function. > > What I want to be able to do, essentially, is allow Perl code to run > within small sections of tests while under "make test". In essence, some > pseudo code that I'd put into 999-update.t: > > #test55 > perl on > print result to STDOUT > perl off # back to no printing
Tests already *are* perl code, from start to finish. 'print' statements work fine in tests under prove -v. What are you *actually* trying to do? What are you testing and why does this test require you to print output to the user under "make test"? Phil -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/