|Pathologically Eclectic Rubbish Lister|
Regression test with nested data structures -- Or how to use Test::Deep?by LanX (Chancellor)
|on Oct 18, 2012 at 10:48 UTC||Need Help??|
LanX has asked for the
wisdom of the Perl Monks concerning the following question:
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!