blob: 8f0c9ee3c8d45efaf1f128843134604e79d95707 (
plain)
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
|
#
# http://doc.pytest.org/en/latest/customize.html#builtin-configuration-file-options
# https://pytest-django.readthedocs.io/en/latest/
[pytest]
testpaths = creole
addopts =
--verbose
# coverage:
--cov=.
--cov-report term-missing
--no-cov-on-fail
# Disabling warning capture
#-p no:warnings
--showlocals
#--trace-config
--doctest-modules
# Do not cut tracebacks (somethimes helpfull):
#--full-trace
# per-test capturing method: one of fd|sys|no:
#--capture=no
# We used logging config in django, so: disable printing caught logs on failed tests.
--no-print-logs
# run the last failures first:
--failed-first
# re-run only failures:
#--last-failed
# run all tests if no tests failed in the last run:
--last-failed-no-failures all
# sort new tests first:
--new-first
# coverage
# https://pytest-cov.readthedocs.io/en/latest/config.html
[run]
source = .
branch = True
parallel = True
omit =
*/tests/*.py
|