Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: README.md

Issue 29338156: Issue 3754 - Initial setup of the python-abp repo. (Closed)
Left Patch Set: Move style and coverage checking to tox.ini, strip setup.py to only have 'devenv' command, remove n… Created March 15, 2016, 6:35 p.m.
Right Patch Set: Remove pytest from qa dependencies in tox.ini, change "filterlist" to "filter list" Created March 17, 2016, 2:39 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « COPYING ('k') | abp/__init__.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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
LEFTRIGHT

Powered by Google App Engine
This is Rietveld