Created
June 12, 2009 18:31
-
-
Save TMorgan99/128820 to your computer and use it in GitHub Desktop.
model feature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: The Models | |
As a practicing Hobo, | |
I want to lay out the models | |
So I can achieve these stated goals: | |
* Track multiple projects | |
* Each having a collection of stories | |
* Stories are just a brief chunk of text | |
* A story can be assigned a current status and a set of outstanding tasks | |
* Tasks can be assigned to users | |
* Users can get an easy heads up of the tasks they are assigned to | |
Scenario: Initial scope of the Agility Application | |
Given a "Project" (with a name) has many "Stories" | |
And a "Story" (with a title, body and status) belongs to a "Project" and has many "Tasks" | |
And a "Task" (with a description) belongs to a "Story" has many "Users" (through "TaskAssignments") | |
And a "User" has many "Tasks" (through "TaskAssignments") | |
Scenario: Explore the front page | |
When I go to the homepage | |
Then I should see "Welcome to Agility" | |
Then I should see "Projects" | |
And I should see "Stories" | |
And I should see "Tasks" | |
When I go to the projects page | |
Then I should see "No projects to display" | |
When I go to the stories page | |
Then I should see "No stories to display" | |
When I go to the tasks page | |
Then I should see "No tasks to display" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment