-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
42 lines (35 loc) · 946 Bytes
/
pytest.ini
File metadata and controls
42 lines (35 loc) · 946 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
[pytest]
# Pytest Configuration for GeneWeb Python Tests
# Issue: UT-PY-001 (Setup pytest infrastructure)
# Test discovery
python_files = test_*.py
python_classes = Test*
python_functions = test_*
testpaths = tests/python
# Output options
addopts =
-v
--strict-markers
--tb=short
--color=yes
--durations=10
# Markers for test categorization
markers =
unit: Unit tests (fast, isolated)
integration: Integration tests (require gwd running)
functional: Functional tests (end-to-end)
slow: Slow tests (>1 second)
skip_ci: Skip in CI environment
requires_gwd: Test requires gwd daemon running
# Coverage options (when using --cov)
# Run with: pytest --cov=tests/python --cov-report=html
# Logging
log_cli = false
log_cli_level = INFO
log_file = tests/python/pytest.log
log_file_level = DEBUG
# Warnings
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning