-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpytest.ini
More file actions
59 lines (51 loc) · 1.52 KB
/
pytest.ini
File metadata and controls
59 lines (51 loc) · 1.52 KB
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
49
50
51
52
53
54
55
56
57
58
59
[pytest]
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Output options
addopts =
# Verbose output
-v
# Show summary of all test types (failed, error, skipped, xfailed, xpassed)
-ra
# Show local variables in tracebacks
--showlocals
# Strict markers - require all markers to be registered
--strict-markers
# Strict config - raise errors on unknown config options
--strict-config
# Coverage options (uncomment when you want coverage reports)
# --cov=virtuals_acp
# --cov-report=html
# --cov-report=term-missing
# --cov-branch
# Disable warnings summary (uncomment to see warnings)
# --disable-warnings
# Asyncio configuration
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Timeout for tests (in seconds) - prevents tests from hanging
timeout = 300
# Markers - register custom markers here
markers =
unit: Unit tests
integration: Integration tests
slow: Tests that take a long time to run
requires_network: Tests that require network connectivity
requires_blockchain: Tests that require blockchain connectivity
smoke: Smoke tests for basic functionality
# Logging
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Minimum Python version
minversion = 7.0
# Filter warnings
filterwarnings =
error
ignore::UserWarning
ignore::DeprecationWarning