forked from galbot-ioai/physics_sim_edu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
47 lines (39 loc) · 1.05 KB
/
pytest.ini
File metadata and controls
47 lines (39 loc) · 1.05 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
[tool:pytest]
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test* *Tests
python_functions = test_*
# Test directories
testpaths = tests
# Add current directory to Python path
addopts =
--strict-markers
--strict-config
--verbose
-ra
--cov=src/physics_simulator
--cov-report=term-missing
--cov-report=html:htmlcov
--cov-fail-under=70
# Markers for categorizing tests
markers =
unit: Unit tests for individual components
integration: Integration tests for workflows
slow: Tests that take a long time to run
mujoco: Tests that require MuJoCo dependencies
# Minimum Python version
minversion = 6.0
# Test timeout (in seconds)
timeout = 300
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:mujoco.*
# Console output options
console_output_style = progress
# Log settings
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S