davideisinger.com

My personal website
Log | Files | Refs | README

commit 6f57ef4b171c8f629a8ea003638eadb7fdbd4d29
parent a432899f92d420f8ed2fa33702bbc6bf8fa6b310
Author: David Eisinger <[email protected]>
Date:   Fri, 12 May 2023 23:49:43 -0400

Coverage

Diffstat:
Mcontent/notes/good-tests/index.md | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/content/notes/good-tests/index.md b/content/notes/good-tests/index.md @@ -14,6 +14,10 @@ draft: false * Create stub objects to stand in for network calls * Use [JSON Schema][1] to ensure stub stays in sync * Avoid over-stubbing/mocking +* Coverage + * We shoot for 100% in SimpleCov (So all the Ruby is tested) + * Some consider this too high or too burdensome -- I don't + * Occasionally you have to ignore some code -- e.g. something that only runs in production [1]: https://json-schema.org/