Wynn Netherland changelog.com/posts

specr - A lightweight BDD framework for C# using the .NET 4.0 framework

specr from Michael Erasmus is inspired by Ruby’s rspec and aims to add a drop-in BDD framework to your .NET unit tests. specr leverages .NET 4.0 features and brings rspec’s vocabulary into C# idioms:

var foo = "foo";

foo.Should().BeA<string>();
foo.Should().NotBeAn<int>()
foo.Should().Equal("foo"); 
foo.Should().NotEqual("bar");

There are more examples in the README.

[Source on GitHub]


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00