Skip to content
Snippets Groups Projects
TESTING.md 845 B
Newer Older
Olivier Le Brouster's avatar
Olivier Le Brouster committed
Testing newsbox and newsbox_cms
=================================

Testing in multiple environment
-------------------------------

It's the better way to test this application. You will test it with many 
versions of Python, Django and Django CMS for newsbox_cms.

## Requirements

First, you need to install tox::

    [me:django-newsbox] $ pip install "tox>=1.6"
Olivier Le Brouster's avatar
Olivier Le Brouster committed

Then, you just have to run tox::
Olivier Le Brouster's avatar
Olivier Le Brouster committed

    [me:django-newsbox] $ tox
Olivier Le Brouster's avatar
Olivier Le Brouster committed

Testing in your specific environnement
--------------------------------------

If you don't care about tests this app in other environnements than yours, you 
can only execute runtests.sh from "tests" directory. Newsbox will be tested 
with your versions of python, Django, installed python modules etc.
It can be usefull if you run a very specific environnement which is not tested 
with our tox configurations.