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 |
4 | 4 |
5 ## Copyright and license | 5 ## Testing |
Sebastian Noack
2016/03/15 12:18:07
For our other projects we don't have a license dis
Vasily Kuznetsov
2016/03/15 13:14:35
Makes sense. With COPYING file at the top level it
| |
6 | 6 |
7 `python-abp` is part of [AdblockPlus](https://adblockplus.org/). | 7 Unit tests for `python-abp` are located in the `/tests` directory. |
8 Copyright (C) 2006-2016 Eyeo GmbH. | 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. | |
9 | 13 |
10 Adblock Plus is free software: you can redistribute it and/or modify | 14 In order to execute the tests, first create and activate development |
11 it under the terms of the GNU General Public License version 3 as | 15 virtualenv: |
12 published by the Free Software Foundation. | |
13 | 16 |
14 Adblock Plus is distributed in the hope that it will be useful, | 17 $ python setup.py devenv |
15 but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 $ . devenv/bin/activate |
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 GNU General Public License for more details. | |
18 | 19 |
19 You should have received a copy of the GNU General Public License | 20 With the development virtualenv activated use pytest for a quick test run: |
20 along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 21 |
22 (devenv) $ py.test tests | |
23 | |
24 and tox for a comprehensive report: | |
25 | |
26 (devenv) $ tox | |
LEFT | RIGHT |