tests: Add board qualification tests for user LEDs.#91
tests: Add board qualification tests for user LEDs.#91nedseb merged 4 commits intofeature/board-qualification-frameworkfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new board-level (driverless) hardware qualification scenario to validate the STeaMi board’s user RGB LED channels and BLE LED via a mix of automated MicroPython scripts and manual confirmation prompts.
Changes:
- Add
tests/scenarios/board_leds.yamlas atype: boardscenario. - Introduce 10 board qualification tests covering RED/GREEN/BLUE/BLE on-off scripts plus manual “visible” confirmations, and an RGB cycle script + manual confirmation.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
a705006 to
f4f04e9
Compare
|
Corrections suite à la review Copilot (955f174) :
|
There was a problem hiding this comment.
Pull request overview
Adds a new board-level qualification scenario to validate the STeaMi board’s user RGB LED (R/G/B + white mix) and BLE LED using the type: board YAML scenario framework (introduced in #89 / depends on #89).
Changes:
- Add
tests/scenarios/board_leds.yamldefining 10 hardware-only tests (5 scripted LED toggles + 5 manual visibility confirmations). - Include an RGB full-cycle scripted test (R → G → B → white) plus a manual confirmation step.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Réponses aux commentaires Copilot : pre_prompt manquants sur les tests intermédiaires (GREEN, BLUE, cycle RGB) — Retrait volontaire : seuls le premier test RGB et le test BLE ont un pre_prompt. Les tests intermédiaires s'enchaînent sans pause car l'opérateur observe déjà la carte. Formulation des pre_prompt — Corrigé : reformulé en « Appuyez sur Entrée pour lancer le test, puis observez la carte » pour clarifier que Entrée déclenche le test. Durée du blanc (1000ms vs 500ms) — Déjà corrigé dans un commit précédent, le blanc est à 500ms comme les autres couleurs. |
Summary
Closes #85
Depends on #89 (framework extension)
Adds board qualification tests for the user RGB LED (red, green, blue) and BLE LED.
Scenario:
tests/scenarios/board_leds.yamlLED_RED(PC12)hardware_scriptmanualLED_GREEN(PC11)hardware_scriptmanualLED_BLUE(PC10)hardware_scriptmanualhardware_scriptmanualLED_BLE(PH3)hardware_scriptmanualHow to test
Test results
Hardware test results will be added after board validation.
Test plan
ruff check tests/— passedpytest tests/ -k mock— 41 passed (no regression)--port