generated from nhs-england-tools/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pytest.ini
25 lines (22 loc) · 862 Bytes
/
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
[pytest]
# Enable python logging during tests, at info level by default
log_cli = True
log_cli_level = INFO
# Default options for pytest to use each execution
addopts =
-m "not utils"
--html=test-results/report.html
--self-contained-html
--json-report
--json-report-file=test-results/results.json
--json-report-omit=collectors
--tracing=retain-on-failure
# Allows pytest to identify the base of this project as the pythonpath
pythonpath = .
# These are the tags that pytest will recognise when using @pytest.mark
markers =
example: tests used for example purposes by this blueprint
utils: tests for utility classes provided by this blueprint
branch: tests designed to run at a branch level
main: tests designed to run against the main branch
release: tests designed to run specifically against a release branch