-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
52 lines (43 loc) · 1.35 KB
/
Copy pathpytest.ini
File metadata and controls
52 lines (43 loc) · 1.35 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
[pytest]
# pytest configuration for TFT Set 4 Gym tests
# Test discovery patterns
python_files = test_*.py *_test.py *Tests.py
python_classes = Test*
python_functions = test_*
# Test directories
testpaths = tests
# Markers for categorizing tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
benchmark: marks tests as benchmark tests
droprate: marks tests related to drop rate verification
player: marks tests related to player functionality
validation: marks tests for action validation and error handling
minion: marks tests related to minion combat
parallel: marks tests related to parallel environment
# Output formatting
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--color=yes
# Minimum version
minversion = 6.0
# Test timeout (in seconds) for slow tests
timeout = 300
# Directories to ignore during test collection
norecursedirs = .git .tox dist build *.egg
# Log configuration
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
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:gymnasium.*
ignore::UserWarning:pettingzoo.*