Testing OppiaMobile Server

The Oppia server uses Django’s inbuilt unit testing framework .

Run the tests on your Oppia server

  1. Activate the virtual environment (eg: /home/oppia/$ source env/bin/activate)
  2. Run all the tests with python manage.py test

Creating new tests

If you are adding additional functionality to the Oppia server, you can add tests for this functionality using the standard Django unit testing framework.

All the unit tests can be found under: https://github.com/DigitalCampus/django-oppia/tree/master/tests