Skip to content

Iteration 1 Plan

james31366 edited this page Sep 10, 2020 · 12 revisions

Iteration 1 Plan

Goal: a working web app that displays poll questions, allows a visitor to select a poll question and choose a response. The application correctly counts the number of "votes" for each response and displays a summary of them for a selected poll question.

Features

  1. Display a page showing a list of current poll questions.
  2. Each poll question has a publication date (starting date) and is not shown before the starting date.
  3. Each poll question has a link to a page displaying the question and a list of choices. A visitor can select a choice to submit a vote, and his vote is recorded.
  4. After voting, a visitor can see the total votes for each choice on a poll question.
  5. Poll questions and choices are saved to a database.
  6. Poll questions are created using the admin interface (no custom interface yet).

Tasks

All tasks should be recorded on Project Board for Iteration 1.

  1. Create a task board on Github for this iteration, and enter tasks.
  2. Create a poll application with Question and Choice model classes (Tutorial part 2).
  3. Design UI and navigation. We need:
    • home page (index) displays a list of poll questions with links to each question
    • question detail page displays poll question and list of choices with a way of selecting a choice
    • results page displays vote totals for a particular question, with navigation links
  4. Implement the view for home page and start of question detail page (Tutorial part 3)
  5. Implement a web form for the question detail page, and back-end to handle the form submission and record a vote (Tutorial part 4)
  6. Write Unit Tests (Tutorial part 5)
    • test that question is not displayed before the starting date (pub_date)
    • test that question is displayed after the pub_date
    • test that the index page displays correctly even if no poll questions available
    • test that "votes" are counted correctly - this is not in the tutorial
  7. Add CSS styling (Tutorial part 6)
  8. Add at least 2 interesting questions to the application.
    • Delete "what's up" question.

Evaluation Criteria

  1. The application runs display a list of current poll questions, allow voting on a question, shows vote totals for each answer to a question.
  2. The application passes all unit tests.
  3. All navigation links work correctly.
  4. The application has some CSS styling and text is easy to read.
  5. The application has at least 2 interesting questions. No dumb questions like "What's up?", "How do you feel?".
  6. All code committed to Github on iteration1 branch and merged into master.

Retrospective and TA Suggestions

to be added.

Back to Home

Clone this wiki locally