Description
Hello developers,
Due to some code stability requirements, I may need the verifyXml(String, Option)
in Approvals.java to pass if the fields in the XML string are shuffled. I wonder if you could add a new feature that can satisfy this. By stability requirement, I mean specifically when I apply the tool NonDex, which will shuffle implementation-dependent operations. The NonDex tool will shuffle the elements inside of the xml string which will cause the verifyXml method to fail.
I saw some similar issues were raised previously, and the closest one I found was https://github.com/approvals/ApprovalTests.Java/issues/301
. However, I think the proposed solution Option.withComparator()
may not fit my demand that well since I am testing an xml string instead of a File. It would be great if you could help!