-
Notifications
You must be signed in to change notification settings - Fork 1
Sprint 0 user story implementation
shandheap edited this page Oct 3, 2013
·
6 revisions
For sprint 0, we chose to implement the story:
As Jane I want to submit a complaint about my building through the website so that the issues I am dealing with are publicly voiced.
We chose this story because posting complaints is the most fundamental action the users will perform on the website. The majority of the story work was implementing the backend, which works as a foundation for other stories such as the one about submitting complaints via SMS. We estimated this story at 8 points, since implementing the backend was a large piece of work.
- Navigate to http://healthyhome.azurewebsites.net/complaint_system/new.
- Enter in an address in the Address field.
- Choose a complaint from the complaint drop down menu.
- Click on the submit complaint button.
- Navigate to http://healthyhome.azurewebsites.net/complaint_system/.
- Check to see if the complaint address and category are visible on the page. If visible, a complaint can be successfully added to the database.
- Navigate to http://healthyhome.azurewebsites.net/complaint_system/.
- Check to see if complaints are visible. If visible, complaints in the database can successfully be viewed.
The sqlite database is tested through database command line methods and webpage is tested if it responds correctly to GET and POST requests.
- Navigate to branch 'testing'
- Copy the folder and run 'python manage.py test' at DjangoApplication root folder to run the tests