-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
33 lines (27 loc) · 1.09 KB
/
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
26
27
28
29
30
31
32
33
[pytest]
log_cli = 1
log_cli_level = INFO
log_cli_format = %(asctime)s %(levelname)s %(message)s
log_cli_date_format = %H:%M:%S
python_files = test_*.py
addopts = -v -s --tb=no -x --maxfail=5 -rxXs
markers =
smoke: smoke tests
sanity: sanity test
str
strtest
#Add the specified OPTS to the set of command line arguments as if they had been specified by the user.
#addopts = --maxfail=5 -v
#collect tests from classes that end in Suite:
#python_classes = *Suite
#By default, files matching test_*.py and *_test.py will be considered test modules.
#python_files = example_*.py check_*.py test_*.py
#By default, pytest will consider any function prefixed with test as a test.
#Example of how to collect test functions and methods that end in _test:
#python_functions = *_test test* *_check
#files or test ids are given in the command line when executing pytest from the rootdir directory.
testpaths = tests
#List of fixtures that will be applied to all test functions;
#this is semantically the same to apply the @pytest.mark.usefixtures marker to all test functions.
#usefixtures =
# setup_list