-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
54 lines (47 loc) · 1.36 KB
/
Copy pathpytest.ini
File metadata and controls
54 lines (47 loc) · 1.36 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
[tool:pytest]
# -------------------------------------------------------------------------
# MRCA Testing Configuration
# Pytest configuration for Mining Regulatory Compliance Assistant
# -------------------------------------------------------------------------
# Test discovery patterns
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output configuration
addopts =
--verbose
--tb=short
--color=yes
--durations=10
--cov=backend
--cov=frontend
--cov-report=html:coverage_html
--cov-report=term-missing
--cov-fail-under=80
# Async test support
asyncio_mode = auto
# Custom markers for test categorization
markers =
unit: Unit tests for individual components
integration: Integration tests for component interaction
e2e: End-to-end tests for complete workflows
reliability: Fault injection and resilience tests
architecture: Architecture evaluation and ASR validation
slow: Tests that take longer than 30 seconds
requires_neo4j: Tests that need Neo4j database connection
requires_llm: Tests that need LLM API access
smoke: Quick smoke tests for basic functionality
# Minimum Python version
minversion = 6.0
# Test timeout (240 seconds for LLM-based tests)
timeout = 240
# Ignore patterns
norecursedirs =
.git
.tox
dist
build
*.egg
archive
i-*