-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpytest.ini
More file actions
32 lines (30 loc) · 1.42 KB
/
Copy pathpytest.ini
File metadata and controls
32 lines (30 loc) · 1.42 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
[pytest]
python_files = test_*.py *_tests.py tests.py
norecursedirs = htmlcov/*
# Test tiers (ENG-29). See CONTRIBUTING.md for the full convention.
# Unmarked tests are treated as `unit`; opt into the others with the
# appropriate ``@pytest.mark.*`` decorator on the test function or class.
markers =
unit: fast in-process unit test (default; no marker needed)
integration: exercises multiple modules or external library boundaries
slow: multi-second test (skip with ``-m 'not slow'``)
dataset: loads a bundled or remote real-world dataset (skip with ``-m 'not dataset'``)
## --new-first: runs test files with the newest timestamp first
## -ra: reports a summary of all non-passing outcomes (skips, xfails, errors)
## -n auto: use all the CPUs possible (pytest-xdist)
## Coverage flags live here; the measurement config is in ".coveragerc" to
## prevent duplication/unexpected clashes in specification.
## Debug helpers such as --pdb, --exitfirst, and -v are deliberately NOT
## defaults (pytest-xdist disables parallelism under --pdb); pass them
## manually when debugging, e.g. ``pytest --pdb -x -v``.
## ------------------------------------
addopts = --new-first
-ra
-n auto
--cov=process_improve
--cov-report=html
--cov-report=term-missing:skip-covered
--cov-config=.coveragerc
--no-cov-on-fail
--cov-branch
--cov-fail-under 92