tygerpatch / Pepper

An acceptance test tool based on JBehave and Cucumber that runs through JUnit.
0 stars 0 forks source link

Scenarios and Narratives should not have titles #3

Open tygerpatch opened 11 years ago

tygerpatch commented 11 years ago

Cucumber allows you to give Scenario's "titles". For example:

Scenario: Summation of two numbers   Given I want to do Addition   And my first operand is 6   And my second operand is 2   When I execute the Operation   Then I should get 8 as my result

I think this would look better if the "title" was moved into a comment. For example:

# Summation of two numbers Scenario:   Given I want to do Addition   And my first operand is 6   And my second operand is 2   When I execute the Operation   Then I should get 8 as my result