--- On Thu, 17/2/11, David Golden <xda...@gmail.com> wrote:
> So I think you've got to nail down what specifically about > the order > is required, then sort in a way that preserves that > important > dimension (country), but standardizes the rest (e.g. always > putting > 'hotel' after 'city'). Then you're just walking > through it looking > for things that are mismatched or missing. Sadly, the sort criteria are not only complicated, but frequently changing (not just the sort data, but the sort *rules*). Furthermore, the exact criteria used is gone by the time it gets to the test. If I were to try and duplicate that criteria, I would be: a. Duplicating a lot of business knowledge in the test b. Constantly synchronizing the test and the code it tests Or I can assert a "fuzzy" match and hope for the best. I'm working in an extremely constrained environment for this particular case and trying to determine my best options :/ Cheers, Ovid -- Live and work overseas - http://overseas-exile.blogspot.com/ Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://blogs.perl.org/users/ovid/ Twitter - http://twitter.com/OvidPerl/