Subject: | Add debugging possibility to tests |
Hi, I very often find myself adding and removing debugging code from my tests . Here is a little example:
is_deeply(DoSomething(...), 'expected', 'message'); is often written like this:
my $result = DoSomething(..);
is_deeply(DoSomething(...), 'expected', 'message');
if(Compare($result, 'expected')