- status: open --> pending
- assigned_to: Jeff Jensen
This ticket was create to continue the discussion that started in this coment of ticket 386
How do you like the idea of considering case sensitive setting in the comparison? I think if dataset1 and dataset2 have different values for case sensitive settings, we cannot answer if they are equals, as it would depend on the order passed. I mean.. if case sensitive settings are different, then depending on the content, assertEquals(dataset1, dataset2) would be different than assertEquals(dataset2, dataset1), thus it might make sense to throw ComparisonFailure if the datasets have different values for case sensitive setting.
Or (I just thought of this while writing) if case sensitive settings are different, we could consider true if assertEquals(dataset1, dataset2) and assertEquals(dataset2, dataset1), but throw ComparisonFailure otherwise, since the comparison would be true for one of the datasets but false for the other.
I'll further provide some tests to enhance the discussion.