I forgot how tedious it is to chase code coverage when writing tests.
-
I forgot how tedious it is to chase code coverage when writing tests.
However this was part of the reason that made me include the "boring" parts of building a robust library into the goals set for the #nlnet grant.
So after a couple of days of work I finally got the first of the storage backends for the #GoActivityPub library go past 80% test coverage.
I hope I can reuse some of the test logic in the other backends, as they need to perform identically.
-
I forgot how tedious it is to chase code coverage when writing tests.
However this was part of the reason that made me include the "boring" parts of building a robust library into the goals set for the #nlnet grant.
So after a couple of days of work I finally got the first of the storage backends for the #GoActivityPub library go past 80% test coverage.
I hope I can reuse some of the test logic in the other backends, as they need to perform identically.
@mariusor I agree that finding those last percents of coverage can be a pain.
But yes, more so trying to get a full app coverage up is hard and unsatisfactory work.
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi