-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpytest.ini
More file actions
61 lines (46 loc) · 1.09 KB
/
Copy pathpytest.ini
File metadata and controls
61 lines (46 loc) · 1.09 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[pytest]
addopts =
# `pytest-xdist`:
--numprocesses=auto
# NOTE: the plugin disabled because it's slower with so few tests
--numprocesses=0
# `pytest-mon`:
# useful for live testing with `pytest-watch` during development:
#--testmon
# Show 10 slowest invocations:
--durations=10
# A bit of verbosity doesn't hurt:
-v
# Report all the things == -rxXs:
-ra
# Show values of the local vars in errors:
--showlocals
# Autocollect and invoke the doctests from all modules:
# https://docs.pytest.org/en/stable/doctest.html
--doctest-modules
# Pre-load the `pytest-cov` plugin early:
-p pytest_cov
# `pytest-cov`:
--cov
--cov-context=test
--no-cov-on-fail
doctest_optionflags = ALLOW_UNICODE ELLIPSIS
#filterwarnings =
# error
junit_duration_report = call
junit_family = xunit2
junit_suite_name = magicbus_test_suite
minversion = 4.6.9
# Optimize pytest's lookup by restricting potentially deep dir tree scan:
norecursedirs =
build
magicbus.egg-info
dist
docs
.cache
.eggs
.git
.github
.tox
testpaths = magicbus/test/
xfail_strict = true