Skip to content

Instantly share code, notes, and snippets.

@aslakhellesoy
Created January 20, 2009 17:36
Show Gist options
  • Save aslakhellesoy/49568 to your computer and use it in GitHub Desktop.
Save aslakhellesoy/49568 to your computer and use it in GitHub Desktop.
# foo.feature
Feature: Foo
Background: Bar
Given Cukes
Then Happy
Scenario: One
Given Java
Scenario: Two
Given Ruby
# output - Happy fails in Happy before One
Feature: Foo
Background: Bar
Given Cukes (GREEN)
Then Happy (RED)
ERROR MSG (RED)
ERROR BACKTRACE (RED)
Scenario: One (CYAN)
Given Java (CYAN)
Scenario: Two (CYAN)
Given Ruby (CYAN)
# output - Happy fails in Happy before Two
Background: Bar
Given Cukes (GREEN)
Then Happy (GREEN)
Scenario: One (GREEN)
Given Java (GREEN)
Scenario: Two (RED)
Background: Bar (RED)
Given Cukes (GREEN)
Then Happy (RED)
ERROR MSG (RED)
ERROR BACKTRACE (RED) # last line is foo.feature:5
Given Ruby (CYAN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment