Learn the new NUnit 2.4 Constraint-Based Assert Model (blog.troyd.net)
submitted by
powerrush(3873) 4 years, 5 months ago
Instead of using a different Assert method for each different type of assertion (e.g.: Assert.AreEqual() for equality comparison, or Assert.IsTrue() for boolean evaluation), the new Constraint-Based Assert Model introduced in NUnit 2.4 utilizes only one Assert method named Assert.That().
|category: C#
|Views: 68
tags:
Testing .net2.0 NUnit Constraints BDD another
Everyones tags:
Your Tags: