-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.cfg
19 lines (17 loc) · 816 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[tool:pytest]
# Do not put timeout to all tests because it does not play nice with running
# tests in parallel. Rather put timeout to single tests: that are known to
# @pytest.mark.timeout(timeout=0)
# 'thread' timeout method adds more overhead but works in Travis containers.
timeout_method = thread
# Look for tests only in tests directories.
# Later we could change this to just "tests/**/test_*.py"
# "tests/win32com/test_*.py"
python_files = "tests/win32/test_*.py" "tests/win32com/test_*.py"
# Display summary info for (s)skipped, (X)xpassed, (x)xfailed, (f)failed and (e)errored tests
# Skip doctest text files
# If you want to run just a subset of test use command
#
# py.test -k test_name
#
addopts = "-v" "-rsxXfE" "--doctest-glob=" "--continue-on-collection-errors" "--junitxml=junit-results.xml"