We've come to use a number of fluent assertion extensions in our C# test code. These are based on J.P. Boodhoo's techniques of specifying 'what not how' even in tests. We hope you find them useful.
This is part of MVBA Law Commons.
Fluent assertions express what you want tested instead of how. For example:
foo.ShouldBeNull(); "catalog".ShouldContain("cat");instead of