daily-email: add 2023-07-18
TDD as a concept is simple, but TDD is difficult
This commit is contained in:
parent
8225373d15
commit
ec2bbeffbb
22
src/content/daily-email/2023-07-18.md
Normal file
22
src/content/daily-email/2023-07-18.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
title: >
|
||||||
|
TDD as a concept is simple, but TDD is difficult
|
||||||
|
pubDate: 2023-07-18
|
||||||
|
permalink: >
|
||||||
|
archive/2023/07/18/tdd-as-a-concept-is-simple-but-tdd-is-difficult
|
||||||
|
tags:
|
||||||
|
- automated-testing
|
||||||
|
- test-driven-development
|
||||||
|
---
|
||||||
|
|
||||||
|
Test-driven development as a concept is easy.
|
||||||
|
|
||||||
|
Before you write any code, you write a failing test and then write enough code to get it to pass.
|
||||||
|
|
||||||
|
But implementing test-driven development is harder.
|
||||||
|
|
||||||
|
As well as overcoming the initial reluctance to write the tests first, it takes time to learn how to use it well.
|
||||||
|
|
||||||
|
Code katas are great for practising TDD, but it can take time to progress from that to using it in a full application with more pieces.
|
||||||
|
|
||||||
|
As with many things, practice and perseverance are key.
|
Loading…
Reference in a new issue