elastic / elastic/apm-agent-python
Increase test coverage
- Vorherrschende Sprache
- Python
- Sterne
- 431
- Forks
- 239
- Ø Merge
- 5 T. 10 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Der Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die aktuelle Abdeckung der Python-Tests zu messen und nicht ausgeführte Codepfade zu ermitteln. Lege anschließend ein konkretes Abdeckungsziel fest und überprüfe, dass die Testsuite es erreicht.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- testing
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100