Line | |
---|
1 | waeup.cas |
---|
2 | ********* |
---|
3 | |
---|
4 | Install for Development |
---|
5 | ----------------------- |
---|
6 | |
---|
7 | Create a virtualenv and install basic packages:: |
---|
8 | |
---|
9 | $ virtualenv py27 |
---|
10 | $ source py27/bin/activate |
---|
11 | (py27)$ python setup.py dev |
---|
12 | |
---|
13 | Running Tests |
---|
14 | ------------- |
---|
15 | |
---|
16 | After `Install for Development`_ run:: |
---|
17 | |
---|
18 | (py27)$ py.test |
---|
19 | |
---|
20 | We also provide support for `tox`. You can run tests in Python 2.6, |
---|
21 | 2.7, 3.1, 3.2, and 3.3 environments (if you have the respective Python |
---|
22 | versions installed locally) simply by:: |
---|
23 | |
---|
24 | (py27)$ tox |
---|
25 | |
---|
26 | If you want to run tests for a specific version only, try something |
---|
27 | like:: |
---|
28 | |
---|
29 | (py27)$ tox -e py31 |
---|
30 | |
---|
31 | to run tests for Python 3.1 only. |
---|
Note: See
TracBrowser for help on using the repository browser.