I am currently comparing SQL Queries which can return thousands of values, into an List..
I'm using the ShouldBeEquivalentTo()
in Fluent Assertion, but it takes forever, which is unacceptable. Anybody know how to do this in a fast matter?
With X-unit I used Assert.Equal
but it fails comparing the properties of the List, I read I have to Override the method, but I don't want to add any complexity.
The only way I found that works fast is Actual.Equals(Expected);
, but then the issue is I don't have any access to methods such as contains();
without some sort of framework.
What is the best way to quickly compare List properties? I'm open to other tools or frameworks for VisualStudio and C#.
Thanks.