New Post: NotBe for DateTime
Nope, unfortunately not. You can create a request for it using the Issue Tracker page.
View ArticleCommented Issue: NotBe for DateTime [11838]
dateTime.Shold().NotBe(anotherDateTime);Comments: ** Comment from web user: brianlow ** Here is an extension method to workaround in the mean time: public static void NotBe(this DateTimeAssertions...
View ArticleNew Post: NotBe for DateTime
Will do. Here is an extension method for someone in the meantime: public static void NotBe(this DateTimeAssertions assertions, DateTime expected) { Execute.Verification...
View ArticleCreated Issue: Better error msg when AllProperties() fails on DateTime [11839]
public class Car { public DateTime MfgDate{ get; set; } } [TestMethod] public void Should() { var expected = new Car {MfgDate= new DateTime(2011, 1, 1)}; var actual = new Car { MfgDate= new...
View ArticleCreated Issue: Support interface inheritance with AllProperties [11840]
public class Car: Vehicle, ICar { public int Wheels { get; set; } } public class Vehicle : IVehicle { public int VehicleId { get; set; } } public interface ICar : IVehicle { int Wheels { get; set; } }...
View ArticleCreated Issue: Exclude properties on nested objects [11841]
We'd like to compare two aggregate roots ignoring a few audit properties (CreatedBy, CreatedOn) on all entities within the root.AllPropertiesBut() only excludes properties on the root object.I think...
View ArticleCommented Issue: NotBe for DateTime [11838]
dateTime.Shold().NotBe(anotherDateTime);Comments: Associated with changeset 73728.
View ArticleSource code checked in, #73729
Merging of Should().NotBe for DateTime to the Main branch
View ArticleCommented Issue: NotBe for DateTime [11838]
dateTime.Shold().NotBe(anotherDateTime);Comments: Associated with changeset 73729.
View ArticlePatch Applied: #10049
dennisdoomen has applied patch #10049. Comment:Was already applied
View ArticlePatch Applied: #10047
dennisdoomen has applied patch #10047. Comment:Was already applied
View ArticleSource code checked in, #74036
Cyclic references no longer throw an exception when comparing nested object properties. Instead they are just ignored
View ArticleCommented Feature: Don't always throw when a circular dependency is detected...
Just started using your library and so far I find it excellent. One thing though: I use it for comparing NHibernate objects and sometimes I have objects with bi-directional references. The assertions...
View Article