-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpytest.ini
More file actions
50 lines (42 loc) · 1.33 KB
/
Copy pathpytest.ini
File metadata and controls
50 lines (42 loc) · 1.33 KB
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
[pytest]
# pytest configuration for PSS frontend tests
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Minimum Python version
minversion = 6.0
# Test paths
testpaths = tests/python error-suite/tests
# `error-suite/` is a separate, dependency-free package that must stay
# installable and runnable on its own (docs/design/error-suite-design.md §2), so
# it is not importable by virtue of living in this tree. Putting it on the path
# here lets both test roots `import pss_errsuite` without anyone having to
# `pip install -e error-suite/` first.
pythonpath = error-suite
# Output options
addopts =
-ra
--strict-markers
--strict-config
--showlocals
-v
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
profiling: profiling and performance tests
integration: integration tests
performance: performance tests requiring benchmarking
source_ref: tests for source reference preservation
corpus: sweeps over the shared pss-corpus (pss-corpus PLAN.md C-18)
needs_pssparser: error-suite tests that require an importable pssparser build
# Coverage options (if pytest-cov is installed)
[coverage:run]
source = pssparser
omit =
*/tests/*
*/test_*.py
[coverage:report]
precision = 2
show_missing = True
skip_covered = False