wiki:InstallationGuidelinesDeveloperTesting

Testing Setup

For doing Testing you will also need these things installed in your Python:

PyLint

PyLint can be used to give a report on code quality.

wget http://ftp.logilab.org/pub/common/logilab-common-0.37.2.tar.gz
tar zxvf logilab-common-0.37.2.tar.gz
cd logilab-common-0.37.2
python setup.py install
wget http://ftp.logilab.org/pub/astng/logilab-astng-0.17.4.tar.gz
tar zxvf logilab-astng-0.17.4.tar.gz
cd astng-0.17.4
python setup.py install
wget http://ftp.logilab.org/pub/pylint/pylint-0.15.2.tar.gz
tar zxvf pylint-0.15.2.tar.gz
cd pylint-0.15.2
python setup.py install

Old

Selenium

(Selenium is now included in the tree)

We use Selenium RC for Unit Testing (we also, separately, use an integrated Selenium Core for Functional Testing):

This requires a Java 6 Runtime:

The Selenium IDE is also useful to have installed in Firefox:

CherryPy

We treid to use CherryPy's WebTest for Doc Tests & Unit Testing.
Windows:

Linux:

wget http://download.cherrypy.org/cherrypy/3.1.1/CherryPy-3.1.1.tar.gz
tar zxvf CherryPy-3.1.1.tar.gz
cd CherryPy-3.1.1
python setup.py install

This also requires us to install wsgi_intercept:

easy_install wsgi_intercept

InstallationGuidelines

DeveloperGuidelinesTesting

Last modified 13 years ago Last modified on 09/26/11 11:54:24
Note: See TracWiki for help on using the wiki.