vendredi 18 novembre 2016

Not able to print a variable/hash in a test case with Test::WWW::Mechanize::Catalyst in perl catalyst app

I am writing test cases for a Perl Catalyst based web application with Test::WWW::Mechanize::Catalyst. I stuck somewhere and I want to troubleshoot by printing a variable/hash value. But the problem is that it just show the console log of Catalyst App. How can I print a variable value in console? like in catalyst $c->log->info($variable value).

Aucun commentaire:

Enregistrer un commentaire