Running The Test Project

  1. Make sure you have Django 1.2 or greater and oauth2 at 1.5.163 or greater installed
  2. Change directory to la_facebook/test_project
  3. python manage.py syncdb
  4. python manage.py runserver localhost:8000
  5. Open a browser and point to that URL
  6. Manually do the tests via your browser

Logging

By default the project will print debug level logging info both to stdout and to a log file located at /tmp/la_facebook.log.

Test Coverage

The test project supports coverage via django-coverage. To enable it you will need on your python path:

coverage==3.4
django-coverage==1.1.1

To run coverage at the command-line:

python manage.py test_coverage la_facebook