Running Tests


To run the tests

$ git clone dpe_repo

$ cd dpe_repo/tests

Configure the postgresql connection details in

$ ./ --exclude-tag=benchmark


Benchmark tests are included to compare performance of the Array M2M with the traditional Django table-based M2M. They can be quite slow and thus it is recommended to exclude them when running tests altogether as in the above example.

They can be run with:

$ ./ benchmarks.tests