Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 487 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 487 Bytes

Xunit.Asserts.Compare

xUnit deep comparing assertions by CompareNETObjects

NuGets

https://www.nuget.org/packages/xUnit.Asserts.Compare

Xunit.Asserts.Compare

Couple of simple Xunit asserts that compare given objects using https://www.nuget.org/packages/CompareNETObjects/

  • Compare objects
DeepAssert.Equal(expected, actual);
  • Ignore property
DeepAssert.Equal(expected, actual, "ignoreProperty1", "ignoreProperty2");