root/OWSLib/trunk/tests/TESTING.txt

Revision 480 (checked in by seang, 2 years ago)

New independent test framework, same style as PCL. coverage.py is from Ned Batchelder. Simplified test of getting WMS layer titles and switched to assertEqual.

Line 
1 Testing OWSLib
2 ==============
3
4 The OWSLib module is tested with the help of setuptools
5
6   http://peak.telecommunity.com/DevCenter/setuptools
7
8 Once you've used the ez_setup.py bootstrap module, use the tsetup.py script to
9 make a development build of cartography.data. I use /home/sean/egg-dev
10 as a staging area instead of the default (site-packages)
11
12   $ python tsetup.py develop --install-dir=/home/sean/egg-dev
13
14 Next, copy runalltests.dist to runalltests and edit the PYTHONPATH to point to
15 your own staging area. Run it like
16
17   $ ./runalltests
18
19 Setuptools makes it a bit easier to guarantee we're testing the checked out
20 code, and not another installation of PCL.
21
Note: See TracBrowser for help on using the browser.