Re: Vague Testing

2011-02-18 Thread Fergal Daly
Anyone can create a comparator for Test::Deep that lives outside of the module itself. There are a small number of methods that need to be implemented but it has never been documented. I always thought I would get around to improving the diagnostic reporting before publishing the API but _I_ certai

Re: Vague Testing

2011-02-18 Thread yary
If it's going to go in Test::Deep, could it go in a submodule, named something like like Test::Deep::Fuzzy ? I'm worried that I'll be on an old machine with broken Unicode libraries and won't be able to install a module that depends on Test::Deep. Many modules uses Test::Deep to test themselves, an

Vague Testing

2011-02-18 Thread Ovid
I've stumbled on a bit of an odd case where I have constantly shifting data I need to test. Ordinarily I would use cmp_deeply from Test::Deep, but it's not quite structured enough. I need something similar to a Levenshtein edit distance for complex data structures. Let's say I have an AoA like