Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 # python-abp | 1 # python-abp |
2 | 2 |
3 A library for working with Adblock Plus filterlists. | 3 A library for working with Adblock Plus filter lists |
Sebastian Noack
2016/03/16 00:18:41
Perhaps you should mention tox here, maybe add a s
Vasily Kuznetsov
2016/03/16 13:47:14
I was thinking that later this kind of information
| |
4 | |
5 ## Testing | |
6 | |
7 Unit tests for `python-abp` are located in the `/tests` directory. | |
8 [Pytest](http://pytest.org/) is used for quickly running the tests | |
9 during development. | |
10 [Tox](https://tox.readthedocs.org/) is used for testing in different | |
11 environments (Python 2.7, Python 3.5 and PyPy) and code quality | |
12 reporting. | |
13 | |
14 In order to execute the tests, first create and activate development | |
15 virtualenv: | |
16 | |
17 $ python setup.py devenv | |
18 $ . devenv/bin/activate | |
19 | |
20 With the development virtualenv activated use pytest for a quick test run: | |
21 | |
22 (devenv) $ py.test tests | |
23 | |
24 and tox for a comprehensive report: | |
25 | |
26 (devenv) $ tox | |
LEFT | RIGHT |