forked from jedie/poetry-publish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
54 lines (41 loc) · 1.05 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# http://doc.pytest.org/en/latest/customize.html#builtin-configuration-file-options
# https://pytest-django.readthedocs.io/en/latest/
[pytest]
testpaths = poetry_publish
addopts =
# see full diff:
-vv
--verbose
# coverage:
--cov=.
--cov-report term-missing
--cov-report xml
--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