-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpytest.ini
More file actions
48 lines (41 loc) · 818 Bytes
/
Copy pathpytest.ini
File metadata and controls
48 lines (41 loc) · 818 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
38
39
40
41
42
43
44
45
46
47
48
[pytest]
# pytest configuration for submodule
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Add markers for async tests
asyncio_mode = auto
# Logging
log_cli = true
log_cli_level = INFO
log_file = pytest.log
log_file_level = DEBUG
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
--cov=.
--cov-report=term-missing
--cov-report=html:htmlcov
# Test paths
testpaths =
tests
# Markers for test categorization
markers =
unit: Unit tests
integration: Integration tests
slow: Slow tests (use -m "not slow" to skip)
gpu: Tests requiring GPU
cpp: Tests for C++ bindings
# Ignore certain paths
norecursedirs =
.git
.tox
dist
build
*.egg
vendors
third_party