Skip to content

Instantly share code, notes, and snippets.

@stefansedich
Created April 15, 2015 09:18
Show Gist options
  • Save stefansedich/a27b7d63892dad6cd294 to your computer and use it in GitHub Desktop.
Save stefansedich/a27b7d63892dad6cd294 to your computer and use it in GitHub Desktop.
[TestFixture]
public class ResetScenario
{
private Stopwatch _stopwatch;
public void GivenX(int a)
{
}
public void AndGivenY()
{
}
public void WhenFoo()
{
}
public void ThenWhatever()
{
}
public void AndSomething()
{
}
[Test]
public void Execute()
{
var examples = new ExampleTable("a")
{
1,
2
};
this.WithExamples(examples)
.BDDfy();
}
}
Scenario: Reset scenario
Given x
And y
When foo
Then whatever
And y
And something
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment