-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
37 lines (29 loc) · 791 Bytes
/
pytest.ini
File metadata and controls
37 lines (29 loc) · 791 Bytes
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
[tool:pytest]
# Pytest configuration for catopy
# Test directories
testpaths = tests
# Python files to collect tests from
python_files = test_*.py *_test.py
# Python classes to collect tests from
python_classes = Test*
# Python functions to collect tests from
python_functions = test_*
# Minimum version of pytest required
minversion = 6.0
# Add options for test discovery and execution
addopts =
--verbose
--tb=short
--strict-markers
--strict-config
--color=yes
# Markers definition
markers =
cuda: tests that require CUDA hardware
slow: tests that take a long time to run
unit: unit tests
integration: integration tests
# Ignore warnings from dependencies
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning