Skip to content

Instantly share code, notes, and snippets.

@agileguy
Created February 13, 2011 22:48
Show Gist options
  • Select an option

  • Save agileguy/825246 to your computer and use it in GitHub Desktop.

Select an option

Save agileguy/825246 to your computer and use it in GitHub Desktop.
passing spec
using System;
namespace mtSpec
{
public class PassingSpec
{
Given _context =()=> { _a = 1; };
When _something_happens =()=> { _b = 1; };
Then _specifications_are_met =()=> { _a.ShouldBe(_b);};
static int _a;
static int _b;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment