Visual Studio Unit Testing Extensions v1.1.0.0

I just released version 1.1.0.0 of these Unit Testing Extensions on CodePlex today.  The original post that talks about the project can be found here.

This release contains additional assertions on DateTime, ICollection<T>, and String.  This release is also targeted to the .NET 4 Framework.

Here are some examples of the new assertions in action:

 [TestMethod]
 public void Test()
 {   
    DateTime foo = DateTime.Now;   
    foo.ShouldBeBefore(Datetime.MaxValue);
 } 
  
 [TestMethod]
 public void Test()
 {  
    DateTime foo = DateTime.Now;
    foo.ShouldBeAfterOrSameAs(Datetime.MinValue);
 } 
  
 [TestMethod]
 public void Test()
 {
    List<int> foo = new List<int>() { 1, 2, 3 };
    foo.ShouldNotBeEmpty();
 } 
  
 [TestMethod]
 public void Test()
 {
    List<int> foo = new List<int>() { 1, 2, 3 };
    foo.ShouldContain(1);
 } 
  
 [TestMethod]
 public void Test()
 {
    List<int> foo = new List<int>() { 1, 2, 3 };
    foo.ShouldHaveCountOf(3);
 } 
  
 [TestMethod]
 public void Test()
 {
    string foo = "foobar";
    foo.ShouldContain("foo");
 } 
  
 [TestMethod]
 public void Test()
 {
    string foo = "foobar";
    foo.ShouldNotContainIgnoringCase("TEST");
 }