-
Notifications
You must be signed in to change notification settings - Fork 6
Ignore
msuarz edited this page Jan 22, 2011
·
2 revisions
Feature: Ignoring Scenarios In order to avoid running scenarios Raconteur should allow to use an @ignore Tag
@ignore Scenario: Ignored Scenario
[TestMethod]
[Ignore]
public void IgnoredScenario()
{
}
@ignore 'cos is not implemented Scenario: Scenario ignored with a reason
// looks ugly with MSTest
[TestMethod]
[Ignore] // 'cos is not implemented
public void ScenarioIgnoredWithAReason()
{
}
// a lot better with NUnit & MbUnit
[TestMethod]
[Ignore("'cos is not implemented")]
public void ScenarioIgnoredWithAReason()
{
}