theupdateframework / theupdateframework/python-tuf
Revise test_updater_ng.py
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 1.7k
- Forks
- 304
- Merge medio
- 1 d 2 h
- PR fusionados (30 d)
- 17
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con test_updater_ng.py y compara su configuración del servidor HTTP respaldado por el sistema de archivos con los archivos servidos en memoria por RepositorySimulator. Lee ngclient/updater.py para entender la integración de Updater y del servidor HTTP que cubren las pruebas existentes. Se considera terminado cuando se conserve la cobertura valiosa y se añadan o revisen pruebas para formar un conjunto significativo de pruebas de integración.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- testing-qa
- Tipo de issue
- Refactorización
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100