public void FeatureAndScenarios() { FeatureRunner.Given_the_Feature_is( @" Feature: Name Scenario: First Scenario: Second "); HighlightFeature.Raconteur_should_highlight(1, "Feature:", "Keyword"); HighlightFeature.Raconteur_should_highlight(2, "Scenario:", "Keyword"); }
public void SingleLineComments() { FeatureRunner.Given_the_Feature_contains( @" Scenario: Name // Comment Step // Scenario: "); HighlightFeature.Raconteur_should_highlight(1, "// Comment", "Comment"); HighlightFeature.Raconteur_should_highlight(1, "// Scenario:", "Comment"); HighlightFeature.Raconteur_should_highlight(1, "Scenario:", "Keyword"); }