Skip to content

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.

Manual Testing

Test Adding a Complaint

  1. Navigate to http://healthyhome.azurewebsites.net/complaint_system/new.
  2. Enter in an address in the Address field.
  3. Choose a complaint from the complaint drop down menu.
  4. Click on the submit complaint button.
  5. Navigate to http://healthyhome.azurewebsites.net/complaint_system/.
  6. 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.

Test viewing complaints

  1. Navigate to http://healthyhome.azurewebsites.net/complaint_system/.
  2. Check to see if complaints are visible. If visible, complaints in the database can successfully be viewed.

Automation Testing

Test the database and front-end form

The sqlite database is tested through database command line methods and webpage is tested if it responds correctly to GET and POST requests.

  1. Navigate to branch 'testing'
  2. Copy the folder and run 'python manage.py test' at DjangoApplication root folder to run the tests
Clone this wiki locally