From 6f57ef4b171c8f629a8ea003638eadb7fdbd4d29 Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Fri, 12 May 2023 23:49:43 -0400 Subject: [PATCH] Coverage --- content/notes/good-tests/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/notes/good-tests/index.md b/content/notes/good-tests/index.md index 64610c0..6ac5cff 100644 --- 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/