Add unit/integration tests for core functionality
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reading hermeskey-server.py for its socket handling, JSON parsing and error paths, then look at .github/workflows/ci.yml to see where a test step would go. No tests/ directory exists yet, so the framework choice (pytest or bats) is open and needs confirming with maintainers first. Done means a pytest suite covering the server's unit paths runs under python3 -m pytest tests/ and passes in CI.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Issue
The project has no automated tests (unit or integration).
Suggested Test Coverage
Unit Tests
hermeskey-server.py: Socket communication, JSON parsing, error handling- Config parsing and validation
- Model name validation
Integration Tests
- Full transcription flow (mock server)
- Hotkey toggle behavior
- Clipboard operations
Test Framework
Consider:
pytestfor Python testsbashunitorbatsfor shell script tests
CI Integration
Add to .github/workflows/ci.yml:
- name: Run tests
run: |
python3 -m pytest tests/
./tests/shell-test.sh
Benefits
- Catch regressions early
- Enable safer refactoring
- Improve code quality
- Better contributor onboarding
- Lingua principale
- Shell
- Stelle
- 0
- Fork
- 0
- Merge medio
- 16m
- PR unite (30g)
- 40
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 graygarbage/HermesKey
-
future consideration packaging
Difficoltà 1/5 1-3 ore Idoneità per principianti 83/100
graygarbage/HermesKey#94 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement future consideration privacy
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
graygarbage/HermesKey#92 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement future consideration
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
graygarbage/HermesKey#89 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement experimental privacy
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
graygarbage/HermesKey#96 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation enhancement future consideration
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
graygarbage/HermesKey#95 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di graygarbage/HermesKey
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
weekly-report.sh: REPORT_PY defaults to a non-portable $HOME/workspaces pathForse già presa @rubambiza l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
rossoctl/automation#126 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
VMAFx/vmafx#3260 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
smswithoutborders/RelaySMS-Publisher#227 ·
I maintainer di solito rispondono entro 1 giorno
-
mirror/uberon.owl is built from a stale uberon.obo when one is already in src/envoForse già presa @turbomam l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
EnvironmentOntology/envo#1699 ·
I maintainer di solito rispondono entro 1 giorno