-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
34 lines (29 loc) · 1020 Bytes
/
pytest.ini
File metadata and controls
34 lines (29 loc) · 1020 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
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
# Test markers for organization
markers =
unit: Unit tests (isolated, no external dependencies)
integration: Integration tests (real databases, services)
e2e: End-to-end tests (full system)
failure: Failure scenario tests (error injection, edge cases)
slow: Slow-running tests (>1 second)
mock_external: Tests requiring external service mocks
serial: Tests that must run sequentially (not in parallel)
security: Security-related tests (ACL, authentication, authorization)
vcf: VMware Cloud Foundation integration tests
requires_docker: Tests requiring Docker services
real_llm: Tests using real LLM API calls (skip in CI, require ANTHROPIC_API_KEY)
# Additional options
addopts =
--strict-markers
--verbose
--tb=short
-ra
# Timeout for tests (5 minutes)
timeout = 300
# Asyncio settings
asyncio_default_fixture_loop_scope = function