Hub: reusable module test kit (fixtures for auth, gate, purge and log checks)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Read hub/tests/demo_module.py, hub/tests/test_platform_hooks.py, hub/tests/test_apple_modules.py, and hub/tests/test_invariants.py to identify the shared checks and current Apple module coverage. Build the parameterizable helper in hub/tests/modulekit.py, migrate the Apple module tests without losing coverage, then document the kit in docs/sdk/; done means all three acceptance criteria are met.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
hub/tests/demo_module.py and the Apple module tests show how to test a module, but each new module would re-implement
the same checks: role enforcement, the 423/409 behaviour, tombstone triggers and purge hooks, and "nothing from the
payload reaches the logs".
Acceptance criteria
- A
hub/tests/modulekit.pyhelper with parametrisable checks that any module test can call. - The Apple modules' tests use it (no loss of coverage).
- Documented in
docs/sdk/as part of the module test kit.
Pointers
hub/tests/demo_module.py,hub/tests/test_platform_hooks.py,hub/tests/test_apple_modules.py,
hub/tests/test_invariants.py
- Lingua principale
- Kotlin
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ft-dev-org/cloudbridge-oss
-
difficulty: beginner documentation help wanted networking
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
difficulty: beginner documentation help wanted self-hosting
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
difficulty: beginner documentation good first issue self-hosting
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
difficulty: beginner documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
backend difficulty: beginner enhancement self-hosting
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Tutte le issue di ft-dev-org/cloudbridge-oss
Issue simili
-
[Request]: KylleneAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
ScoopInstaller/Extras#19589 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
feature request needs decision
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
tswistak/Battery-Monitor#207 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100