commit a432899f92d420f8ed2fa33702bbc6bf8fa6b310 parent c3dad87afbf67d5e585a4dafc1404597b5cf2575 Author: David Eisinger <[email protected]> Date: Fri, 12 May 2023 23:46:47 -0400 Update test note Diffstat:
| M | content/notes/good-tests/index.md | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/content/notes/good-tests/index.md b/content/notes/good-tests/index.md @@ -12,6 +12,9 @@ draft: false * Make assertions about the results * Put complex logic into easily testable objects/functions * Create stub objects to stand in for network calls - * Use JSON Schema to ensure stub stays in sync + * Use [JSON Schema][1] to ensure stub stays in sync +* Avoid over-stubbing/mocking + +[1]: https://json-schema.org/ {{<thumbnail notes "400x" />}}