diff options
author | Jasper Ras <jras@hostnet.nl> | 2024-11-23 11:30:28 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2024-11-23 11:30:28 +0100 |
commit | 1f1423fdb8d4e2928768ffa33a6ad2b59c75e82e (patch) | |
tree | 67d94f0d821a053aca0e7c8a7ffb6c369047aa14 /zettelkast/Notes/290220241409 - TDD High and Low Gear.md | |
parent | 93d36010a9d54bca1fdcaf1f4c99e6981aaf41bc (diff) |
lowercase dirs
Diffstat (limited to 'zettelkast/Notes/290220241409 - TDD High and Low Gear.md')
-rw-r--r-- | zettelkast/Notes/290220241409 - TDD High and Low Gear.md | 3 |
1 files changed, 3 insertions, 0 deletions
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 |