-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
39 lines (33 loc) · 1.04 KB
/
Copy pathpytest.ini
File metadata and controls
39 lines (33 loc) · 1.04 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
[pytest]
# Pytest configuration for FactoryVerse
# Test discovery - include all test directories
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--tb=short
--strict-markers
-W ignore::DeprecationWarning
# Asyncio
asyncio_mode = auto
asyncio_default_fixture_loop_scope = session
# Markers
markers =
slow: Tests that take a significant amount of time to run
requires_docker: Tests that require Docker to be installed and running
requires_restart: Tests that require server restart
integration: Integration tests (require running Factorio server)
unit: Unit tests (no server required)
dsl: Tests that use the Python DSL (PlayingFactory, entities, etc.)
mod: Tests that run within Factorio using the mod system
e2e: End-to-end workflow tests
# Minimum Python version
minversion = 8.0
# Log settings
log_cli = false
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