|Perl: the Markov chain saw|
Can I use Test::Differences with Test::LectroTest?by pernod (Chaplain)
|on Feb 01, 2005 at 16:36 UTC||Need Help??|
pernod has asked for the
wisdom of the Perl Monks concerning the following question:
From time to time I use Test::LectroTest for specifications based testing, which allows me to do neat things like:
Lately I have been thinking about comparing more complex data structures than what is shown in the basic documentation. As many of my functions return data structures, being able to compare these results with Test::Differences' eq_or_diff, or something from Test::Deep would have been nice. Something like:
I only fiddled a little bit around with this (without success), and some googling didn't find much. I wonder if anyone knows if this is possible, or even useful?
Have a nice day :)
Edit: Changed title, the old one sounded like a howto.