Inspired by Sharp Test Ex
, we've worked hard to add some important missing features that we really needed, and also improve resiliance against illegal arguments such as an empty collection or null.
- All dependencies on MSTest assemblies have been removed. So assertions will work with all testing frameworks.
- Added support for Silverlight
- Improved the verification messages around assertion of collections so that you don't need any debugging to figure out what went wrong.
- Added object.Should().BeAssignableTo()
- Added object.Should().Satisfy() to verify against a lambda or delegate.
- Added extension methods on an Action or Action<T> which allows better support for the AAA syntax. We've rewritten a large portion of the framework's unit tests and it definitely improves unit test maintance.
- Added a ValueOf property to the exception assertions syntax that allows chaining additional Should()s on the properties of the exception.