feat(ups-hid): further validate implementation and adding files

Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
bullshit committed 2025-08-22 13:07:09 +02:00
1 parent bdbf617917
commit 09affb35b5
12 files changed
+585 -394

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
[pytest]
# ESPHome Configuration Testing with pytest
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers
markers =
validation: Configuration validation tests (fast)
compilation: Configuration compilation tests (mandatory, slow)
simulation: Simulation mode tests
slow: Slow tests (>30s, mostly compilation)
ci: Tests suitable for CI/CD pipeline (fast, no hardware)
# Output and reporting
addopts =
-v
--strict-markers
--tb=short
--color=yes
--durations=10
--html=build/esphome-test-report.html
--self-contained-html
--junit-xml=build/esphome-test-results.xml
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)d)
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Test execution
timeout = 300
# Override timeout for compilation tests
timeout_method = thread
# Minimum version
minversion = 7.0