elastic / elastic/apm-agent-python
Increase test coverage
- Lenguaje dominante
- Python
- Estrellas
- 431
- Forks
- 239
- Merge medio
- 5 d 10 h
- PR fusionados (30 d)
- 7
Descripción
While at the PyCon 2023 sprints I contributed to beeware/briefcase. One interesting thing I noted is that they have 100% test coverage. While 100% test coverage doesn't mean your tests are *good*, it did have the effect of forcing me to think about un-exercised code paths and write an extra test for a path I was missing. (The CI wouldn't pass with anything less than 100%)
That motivation was useful, and my contribution was better for it. I think it might be worth taking some time to increase our coverage, see how close to 100% we can get.
Guía de contribución
Línea de trabajo
El issue no menciona archivos, pruebas ni puntos de entrada. Empieza midiendo la cobertura actual de las pruebas de Python y localizando las rutas de código que no se ejercitan; después, define un objetivo de cobertura concreto y verifica que la suite de pruebas lo alcance.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 20/100