Sharp Tests Extensions 1.0.0Beta

Rating: No reviews yet
Downloads: 97
Released: Dec 25, 2009
Updated: Jan 11, 2010 by fabiomaulo
Dev status: Beta Help Icon

Recommended Download

Application SharpTestsEx
application, 154K, uploaded Dec 25, 2009 - 97 downloads

Release Notes

Project Description
SharpTestsEx (Sharp Tests Extensions) is a set of extensible extensions. The main target is write short assertions where the Visual Studio IDE intellisense is your guide. #TestsEx can be used with NUnit, MsTests, xUnit, MbUnit... even in Silverlight.

Have a look to the Syntax Overview.

Blog post with more examples about this release

List of issues fixed:

  • NotThrow should show the exception
  • Syntax suggestion: enumerable.Should().Be.OrderedBy(keySelector)
  • ActionAssert.Throws with specific type message improvement
  • String Equality magnifier: more characters
  • The binary to work with NUnit was actualized to work with NUnit-2.5.3.9345.

Mayor feature

The Satisfier (Lambda/LINQ based Assertions) was improved.
You can write your assertion-condition using the syntax of your preferred .Net language with your preferred unit test framework.
var ints = new[] { 1, 2, 3 };
ints.Satisfy(a => a.SequenceEqual(new[] { 3, 2, 1 }));

var users = new UserRepository();
users.Where(p => p.IsActive)
	.Satisfy(a => a.Count() == 3 && a.Any(u => u.Name == "John") && a.Any(u => u.Name == "Fabio"));

Reviews for this release

No reviews yet for this release.