-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
45 lines (40 loc) · 994 Bytes
/
pytest.ini
File metadata and controls
45 lines (40 loc) · 994 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
[pytest]
# Test discovery
testpaths = tests/integration
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers for categorizing tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
requires_micromamba: tests that require micromamba installed
requires_asdf: tests that require asdf installed
requires_direnv: tests that require direnv installed
macos: tests that only run on macOS
linux: tests that only run on Linux
venv: tests specific to venv backend
micromamba: tests specific to micromamba backend
# Output and reporting
addopts =
-v
--tb=short
--strict-markers
--color=yes
-ra
--maxfail=5
# Coverage configuration
[coverage:run]
source = tests/integration
omit =
tests/helpers/*
tests/unit/*
tests/fixtures/*
.venv/*
.pyve/*
*/site-packages/*
[coverage:report]
precision = 2
show_missing = True
skip_covered = False
[coverage:html]
directory = htmlcov