-
Notifications
You must be signed in to change notification settings - Fork 41
/
pytest.ini
30 lines (26 loc) · 961 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[pytest]
addopts = -ra
--pdbcls=IPython.terminal.debugger:Pdb
--durations=10
--log-level=WARNING
-vv
--cov=kart
--benchmark-max-time=5.0
--pstats-dir=.pytest_profiles
# override this with --benchmark-enable if you want to run benchmarks
--benchmark-disable
# python-xdist: Parallelise to all cores. Turn off with `-p no:xdist`
--dist=loadfile
# Override this with `--numprocesses=0 -p no:xdist` to use breakpoints / not distribute
--numprocesses=auto
# Less noise from subprocesses writing to stdout
--capture=fd
testpaths = tests
norecursedirs = .* build dist CVS _darcs *.egg venv *.git data tests/data
markers =
# select only marked tests via `-m amark`
# deselect marked test via `-m 'not amark'`
slow: slow tests
mssql: sql server tests
mysql: mysql tests
e2e: end-to-end tests