-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpytest.ini
More file actions
50 lines (41 loc) · 1.16 KB
/
Copy pathpytest.ini
File metadata and controls
50 lines (41 loc) · 1.16 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
[pytest]
# Pytest configuration for TelemFFB tests
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Minimum version
minversion = 6.0
# Add source directory to Python path
pythonpath = .
# Output options
addopts =
-v
--strict-markers
--tb=short
--color=yes
# Test markers
markers =
unit: Unit tests for individual components
integration: Integration tests for multiple components
msfs: Tests specific to MSFS simulator
xplane: Tests specific to X-Plane simulator
joystick: Tests for joystick FFB effects
pedals: Tests for pedals FFB effects
collective: Tests for collective FFB effects
helicopter: Tests for helicopter aircraft
slow: Tests that take a long time to run
# Coverage options (if pytest-cov is installed)
# addopts = --cov=telemffb --cov-report=html --cov-report=term
# Warnings
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Test paths
testpaths = tests
# Log configuration
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