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

Side by Side Diff: tox.ini

Issue 29342955: Issue 3985 - Unified test runner for sitescripts (Closed)
Patch Set: Created May 23, 2016, 9:50 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« Vagrantfile ('K') | « Vagrantfile ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [tox]
2 envlist = hg, notifications-nodeps, stats
3 skipsdist = true
4
5 [pytest]
6 python_files = *.py
7
8 [testenv]
9 basepython=python2
10 deps =
11 pytest
12 mock
13 jinja2
14 setenv =
15 SITESCRIPTS_CONFIG = ./.sitescripts.example
16
17 [testenv:filterhits]
18 # Depends on MySQL client (TODO: and server?).
mathias 2016/05/23 22:25:32 Probably libmysqlclient-dev plus maybe some common
19 deps =
20 {[testenv]deps}
21 m2crypto
22 MySQL-python
23 commands =
24 py.test sitescripts/filterhits/test
25
26 [testenv:hg]
27 commands = py.test sitescripts/hg/test
Sebastian Noack 2016/05/24 07:58:36 Is there any benefit on using py.test to invoke st
Vasily Kuznetsov 2016/05/24 18:15:36 Nicer reporting. Also it allows having a single re
28
29 [testenv:notifications-nodeps]
30 commands = py.test sitescripts/notifications/test/parser.py
31
32 [testenv:notifications]
33 # Depends on MySQL client (TODO: and server?).
34 deps =
35 {[testenv]deps}
36 m2crypto
37 MySQL-python
38 commands = py.test sitescripts/notifications/test
39
40 [testenv:stats]
41 commands =
42 python ensure_dependencies.py
43 py.test sitescripts/stats/test
OLDNEW
« Vagrantfile ('K') | « Vagrantfile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld