From f3711a93832df46dc245075df08b9ebfc05266e9 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Wed, 21 Aug 2024 16:22:08 +0200 Subject: forgot to commit for a while --- Zettelkast/Notes/290220241409 - TDD High and Low Gear.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Zettelkast/Notes/290220241409 - TDD High and Low Gear.md (limited to 'Zettelkast/Notes/290220241409 - TDD High and Low Gear.md') diff --git a/Zettelkast/Notes/290220241409 - TDD High and Low Gear.md b/Zettelkast/Notes/290220241409 - TDD High and Low Gear.md new file mode 100644 index 0000000..218ad00 --- /dev/null +++ b/Zettelkast/Notes/290220241409 - TDD High and Low Gear.md @@ -0,0 +1,3 @@ +A nice idea of TDD is that of High and Low Gear. What they mean is that when you're just starting out you will write a lot of fine grained unit tests to get going, e.g against the domain layer. +Once you're at the point that you have encapsulated all use cases in a nice service layer, you can move all the specific domain tests to the service layer. This makes it easier to make modifications to the domain model. +If then you really need to make big changes, you write fine grained unit tests for those again, until you've encapsulated them in the service layer. \ No newline at end of file -- cgit v1.2.3