Test coverage

To talk about raw numbers for a moment, when we started, our service's test coverage looked like this:

-------------------------------------------------------------------------|      Branch     |       Dir       |                                   ||   Cov% |  Stmts |   Cov% |  Stmts | Package                           |-------------------------------------------------------------------------|  52.94 |    238 |   0.00 |      3 | acme/                             ||  73.33 |     15 |  73.33 |     15 | acme/internal/config/             ||   0.00 |      4 |   0.00 |      4 | acme/internal/logging/            ||  63.33 |     60 |  63.33 |     60 | acme/internal/modules/data/       ||   0.00 |     38 |   0.00 |     38 | acme/internal/modules/exchange/   ||  50.00 |      6 |  50.00 |      6 | acme/internal/modules/get/        ||  25.00 |     12 |  25.00 |     12 | acme/internal/modules/list/       ||  64.29 |     28 |  64.29 |     28 | acme/internal/modules/register/   || 73.61 ...

Get Hands-On Dependency Injection in Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.