18 lines
581 B
INI
18 lines
581 B
INI
[pytest]
|
|
# Add command-line options by default
|
|
addopts = --tb=short --strict-markers --html=report.html --self-contained-html
|
|
|
|
# Optional: set default HTML report location (if you use pytest-html)
|
|
# addopts = --tb=short --strict-markers --html=report.html
|
|
|
|
# Markers you plan to use in test code
|
|
markers =
|
|
sim: mark test to run in simulation mode only
|
|
hardware: mark test that requires real hardware
|
|
slow: mark test as slow (e.g., long soak or ramp tests)
|
|
sanity: mark test as quick smoke/sanity check
|
|
|
|
# Logging settings (optional)
|
|
log_cli = true
|
|
log_level = INFO
|