Skip to content
Browse files

Wrote dashboard acceptance tests

  • Loading branch information...
1 parent dad4dfb commit 1881c79422cba704f1143f953531c1fbcc2bb040 Jordan West committed Feb 5, 2010
Showing with 20 additions and 4 deletions.
  1. +20 −4 features/dashboard.feature
View
24 features/dashboard.feature
@@ -4,11 +4,27 @@ Feature: Dashboard
As a stakeholder
I want a sexy dashboard
- @undefined_scenario
Scenario: Viewing when No Cukes Exist
+ Given no cukes exist
+ When I am on the Dashboard
+ Then I should see "You don't have any Cukes in the ./features directory or your project."
+ And I should see "Either create some, or you can look at these Demo Cukes"
- @undefined_scenario
Scenario: Viewing when Cukes Exist
+ Given the cukes "file1,file2"
+ When I am on the dashboard
+ Then I should see "name"
+ And I should see "State"
+ And I should see "Actions"
+ And I should see "Run"
+ And I should see "file1"
+ And I should see "file2"
- @undefined_scenario
- Scenario: Viewing when Cukes Exist w/ Tags at Feature Level (Issue #2)
+ Scenario: Viewing when Cukes Exist w/ Tags at Feature Level (Issue #2)
+ Given a cuke "feature_tagged":
+ """
+ @i_shouldn't_break_anything
+ Feature: Tagged
+ """
+ When I am on the Dashboard
+ Then I should see "feature_tagged"

0 comments on commit 1881c79

Please sign in to comment.
Something went wrong with that request. Please try again.