My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

The development of this project has moved to GitHub

Fluent assertions express what you want tested instead of how. For example:

    foo.ShouldBeNull();
    "catalog".ShouldContain("cat");

instead of

    Assert.IsNull(foo);
    Assert.IsTrue("catalog".Contains("cat"));

It also provides a simple BDD framework that lets you write tests that can be easily understood and verified by non-developers:

    Test.For<MongoCollection<Person>>()
	.Given(_personRepository)
	.When(Save_fails)
	.Should(Not_populate_the_id_property_of_the_person)
	.Verify();

This is part of MVBA Law Commons.

Powered by Google Project Hosting