Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Passing Test Suite #71

Open
2 of 9 tasks
mihaibivol opened this issue Oct 6, 2013 · 0 comments
Open
2 of 9 tasks

Passing Test Suite #71

mihaibivol opened this issue Oct 6, 2013 · 0 comments
Milestone

Comments

@mihaibivol
Copy link
Member

Need

In order to check I don't introduce bugs
As a developer
I want a stable test suite

Deliverables

  • Passing test suite when running ./manage.py test
  • Code coverage in tests for all models and views

Solution

Abstract

In order to achieve a good test suite we need to do the following:

  • Fix the current failing tests
  • Add tests for all models and views

Prerequisites

https://docs.djangoproject.com/en/1.0/topics/testing/
http://www.realpython.com/blog/python/testing-in-django-part-1-best-practices-and-examples/#.UlFRMpwW2bU

TODO

  • Fix django.contrib.auth failing test. Currently we use the default django.contrib.auth default login view with another template and url. This makes the test fail. A solution might be this one
  • Create a tests module for the people app
  • Add unit tests for models
  • Add unit tests for views
  • Add unit tests for forms
@mihaibivol mihaibivol modified the milestones: Backlog, RELEASE beta Apr 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant