theupdateframework / theupdateframework/python-tuf
Revise test_updater_ng.py
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 1.7k
- Fork
- 304
- Merge medio
- 1g 2h
- PR unite (30g)
- 17
Descrizione
Description of issue or feature request:
Currently test_updater_ng.py is the single place where ngclient/updater.py is tested with an HTTP server instance serving files from the file system and not with the in-memory files served by RepositorySimulator. The tests included are not well thought out and were added with the goal of achieving acceptable test coverage.
Revise the existing tests and determine what is worth keeping and/or what should be added to build a meaningful set of integration tests of Updater + HTTP server.
Guida per i contributori
Apri 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.
Direzione di ricerca
Inizia con test_updater_ng.py e confronta la configurazione del server HTTP basata sul filesystem con i file serviti in memoria da RepositorySimulator. Leggi ngclient/updater.py per comprendere l’integrazione di Updater e del server HTTP coperta dai test esistenti. Il lavoro è completo quando viene mantenuta la copertura utile e vengono aggiunti o rivisti test in un insieme significativo di test di integrazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- testing-qa
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100