ESPSomfy-RTS/gcovr.cfg
R. Sid Shaytay 28af01195a
Move the board profile tests into the native Unity suite
The board tests ran through tools/test-board-profile.sh with their own stubs, assert() and a script that copied nine method bodies out of Transceiver.cpp, so they were outside pio test -e native and the coverage report.

Pure decisions now live in units the native env builds: BoardProfile::usesPin is constexpr, RadioReadiness decides register validity, the receive-state outcome (ready, retry or unavailable, with one try today) and whether a queued job may transmit, and ShadeGpioGuard decides whether a shade's outputs touch a board pad. Transceiver and ShadeGpio call them with identical behaviour. New Unity suites cover the generic and LILYGO profiles (reserved pads, startup order, radio bring-up) and the readiness unit; the old harness, its script, CI step and stubs are deleted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 18:47:04 -08:00

12 lines
525 B
INI

# Coverage of the native tests: pio test -e coverage, then gcovr.
# Only the files the native env builds show up (build_src_filter);
# the rest of src/ needs the ESP32 and isn't measured.
filter = src/
object-directory = .pio/build/coverage
sort = uncovered-percent
print-summary = yes
html-title = ESPSomfy-RTS native tests
html-details = coverage/
# BoardProfile.cpp is built once per board by the board profile tests, so the
# same function sits on different lines in each build.
merge-mode-functions = merge-use-line-min