|
|
| go ahead... be a heretic | |
| PerlMonks |
Regression test with nested data structures -- Or how to use Test::Deep?by LanX (Monsignor) |
| on Oct 18, 2012 at 10:48 UTC ( #999704=perlquestion: print w/ replies, xml ) | Need Help?? |
|
LanX has asked for the
wisdom of the Perl Monks concerning the following question:
Moin Monks!
I need some help using Test::Deep ... my problem: I wanna refactor a rather complicated module which produces nested data structures like the following and I wanna test that the output stays stable:
to be able to use Test::More::is_deeply() between to runs I need to ignore the time benchmark. I already solved this quite complicatedly by copying new filtered hashes...
But Test::Deep should be the right module to do this appropriately, unfortunately today my brain is to slow to understand the docs... (it's flue season ;-) Any help appreciated!
Cheers Rolf
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||