Repository navigation
Expand file tree
/
Copy pathpytest.ini
More file actions
51 lines (51 loc) · 2.15 KB
/
Copy pathpytest.ini
File metadata and controls
51 lines (51 loc) · 2.15 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
# Authoritative pytest config. When pytest.ini is present, [tool.pytest.ini_options]
# in pyproject.toml is silently ignored — update markers and addopts here only.
[pytest]
testpaths = tests
pythonpath = src
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
--strict-markers
--strict-config
--tb=short
--ignore=tests/unit/mcp_servers
--ignore=tests/unit/_v0_archive
# Coverage disabled by default - enabled per test type in tox.ini
# Unit tests: coverage enabled with 80% threshold
# Integration tests: coverage disabled (focus on behavior, not coverage)
# Note: MCP server tests are excluded (independent component with separate dependencies)
markers =
unit: Unit tests (fast, isolated)
integration: Integration tests (slower, component interaction)
slow: Slow running tests
api: API-related tests
tracer: Tracer functionality tests
models: Model validation tests
workflows: End-to-end workflow tests
performance: Performance tests
error_handling: Error handling tests
async: Asynchronous tests
real_api: Tests that require real API access
mock: Tests that use mocking
evaluation: Evaluation framework tests
multi_instance: Multi-instance tracer tests
tracer_provider: TracerProvider integration tests
multi_tracer: Multi-tracer functionality tests
end_to_end: End-to-end validation tests
real_instrumentor: Tests that use real instrumentor integrations
openai_required: Tests that require OpenAI API access
anthropic_required: Tests that require Anthropic API access
openai: OpenAI provider integration tests
anthropic: Anthropic provider integration tests
langchain: LangChain integration tests
langgraph: LangGraph integration tests
litellm: LiteLLM integration tests
bedrock: AWS Bedrock integration tests
strands: AWS Strands Agents integration tests
xdist_group: Pin tests to a named xdist worker group; only honored when pytest is run with --dist=loadgroup
filterwarnings =
ignore::DeprecationWarning
ignore:No data was collected:coverage.exceptions.CoverageWarning
ignore::coverage.exceptions.CoverageWarning