Asserting custom objects are equal

23 views
Skip to first unread message

Mariusz Wojcik

unread,
Feb 28, 2014, 3:50:11 PM2/28/14
to pes...@googlegroups.com
Hi,

   I am trying to assert that two custom objects are equal but Should Be seems to check whether objects are same (the same instance). Is there a support for asserting custom objects by comparing it's properties?
   I had a look at TestResults.Tests.ps1, but it compares each property separately.

Cheers,

Mariusz

craig buchanan

unread,
Nov 14, 2016, 7:56:35 PM11/14/16
to Pester
I asked a similar question on StackOverflow: Compare the properties of two PsCustomObjects.
Reply all
Reply to author
Forward
0 new messages