-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
57 lines (44 loc) · 901 Bytes
/
pytest.ini
File metadata and controls
57 lines (44 loc) · 901 Bytes
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
[pytest]
minversion = 6.0
addopts =
-s
-v
-ra
-q
--html=./report/report.html
--junitxml=./report/report.xml
log_cli = true
log_cli_format = %(asctime)s [%(levelname)s] %(message)s
log_file = ./logger_module/pytest.log
log_file_format = %(asctime)s [%(levelname)s] %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
markers =
api
ui
; slow
; smoke
; online
norecursedirs = .* build dist CVS _darcs {arch} *.egg .git .hg .tox
testpaths =
tests
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
[coverage:run]
branch = True
source =
myproject
omit =
tests/*
[coverage:report]
show_missing = True
skip_covered = True
[coverage:html]
directory = coverage_html_report
[coverage:xml]
output = coverage.xml
[pytest-html]
report_title = My Test Report
output_file = report.html
[pytest-xdist]
numprocesses = auto