My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
People details
Project owners:
  goeran.hansen
Project committers:
Mark.Nijhof, einar.dolittle, runekva

What

A tiny BDD (Behaviour Driven Development) DSL for C#, which also is Test Runner agnostic and lets you do BDD syntax while writing tests.

Example

[Test]
public void Update_status()
{
    Scenario("Update user status on Twitter");
    Given("the user is logged on", () =>
            twitter = new Twitter(username, password));

     When("status is updated", () =>
            twitter.Status.Update("hello world..."));

     Then("status should be updated", () =>
            twitter.Status.Show(username).Status.Text.ShouldEqual("hello world..."));
}

See TinyBDD in action here and here (larger test of a Model-View-ViewModel impl).

Download TinyBDD.

Documentation









Hosted by Google Code