-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
38 lines (29 loc) · 812 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
31
32
33
34
35
36
37
38
#
# http://doc.pytest.org/en/latest/customize.html#builtin-configuration-file-options
# https://pytest-django.readthedocs.io/en/latest/
[pytest]
testpaths = iterfilesystem
log_format = %(asctime)s %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
addopts =
# see full diff:
-vv
# coverage:
--cov=.
--cov-report term-missing
--cov-report xml
--no-cov-on-fail
--showlocals
#--trace-config
--doctest-modules
# Do not cut tracebacks (somethimes helpfull):
#--full-trace
# per-test capturing method: one of fd|sys|no:
#--capture=no
# run the last failures first:
--failed-first
# run all tests if no tests failed in the last run:
--last-failed-no-failures all
# sort new tests first:
--new-first
; -p no:randomly