Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.
/ TDD_book Public archive

projects from "Test-Driven Development with Python" by Harry J.W. Percival

Notifications You must be signed in to change notification settings

lancelote/TDD_book

Repository files navigation

Requirements Status Build Status

TDD_book

Code for "Test-Driven Development with Python" book by Harry J.W. Percival

I've done a lot of "personal preference" tweaks so be aware to use my code for references, but feel free to contact me instead.

ToDo List

  • Migrate all views to OOP style
  • Staging version needed
  • Hide error after user click inside field
  • Remove duplication of validation logic in views
  • Remove hardcoded URLs from views.py
  • Remove hardcoded URLs from forms in list.html and home.html

Testing

Do not forget:

pip install -r requirements.txt

Unit testing

paver unit

Acceptance testing

paver accept

Liveserver:

paver accept --liveserver=example.com

Style validation (PEP8)

paver style

Everything

paver