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: Update ignore files, describe testing in README.md and fix a typo in tox.ini. Created March 16, 2016, 3:56 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
Felix Dahlke 2016/03/17 09:25:32 Nit: "filter lists" should be two words.
4 4
5 ## Testing 5 ## Testing
6 6
7 Unit tests for `python-abp` are located in the `/tests` directory. 7 Unit tests for `python-abp` are located in the `/tests` directory.
8 [Pytest](http://pytest.org/) is used for quickly running the tests 8 [Pytest](http://pytest.org/) is used for quickly running the tests
9 during development. 9 during development.
10 [Tox](https://tox.readthedocs.org/) is used for testing in different 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 11 environments (Python 2.7, Python 3.5 and PyPy) and code quality
12 reporting. 12 reporting.
13 13
14 In order to execute the tests, first create and activate development 14 In order to execute the tests, first create and activate development
15 virtualenv: 15 virtualenv:
16 16
17 $ python setup.py devenv 17 $ python setup.py devenv
18 $ . devenv/bin/activate 18 $ . devenv/bin/activate
19 19
20 After the development virtualenv is created use pytest for a quick 20 With the development virtualenv activated use pytest for a quick test run:
21 test run:
22 21
23 (devenv) $ py.test tests 22 (devenv) $ py.test tests
24 23
25 and tox for a comprehensive report: 24 and tox for a comprehensive report:
26 25
27 (devenv) $ tox 26 (devenv) $ tox
LEFTRIGHT

Powered by Google App Engine
This is Rietveld