daily-email: add 2023-10-08
Is test-driven development difficult?
This commit is contained in:
parent
2f7d260601
commit
a9fafe1599
25
src/content/daily-email/2023-10-08.md
Normal file
25
src/content/daily-email/2023-10-08.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
title: >
|
||||||
|
Is test-driven development difficult?
|
||||||
|
pubDate: 2023-10-08
|
||||||
|
permalink: >
|
||||||
|
archive/2023/10/08/is-test-driven-development-difficult
|
||||||
|
tags:
|
||||||
|
- software-development
|
||||||
|
- automated-testing
|
||||||
|
- test-driven-development
|
||||||
|
- continuous-integration
|
||||||
|
- trunk-based-development
|
||||||
|
---
|
||||||
|
|
||||||
|
I recently read a post where the writer said automated testing, test-driven development, continuous integration, trunk-based development, etc, are difficult.
|
||||||
|
|
||||||
|
I'm familiar with them and have been using them for some time, but I think trunk-based development is easier as there's only a single branch instead of many.
|
||||||
|
|
||||||
|
Continuous integration is pulling everyone else's code at least once daily and pushing yours to ensure it doesn't conflict.
|
||||||
|
|
||||||
|
Test-driven development is writing failing tests before any implementation code and refactoring once it passes.
|
||||||
|
|
||||||
|
I don't think these are technically difficult, but they do require an open mind, a willingness to learn, evaluate and consider alternative approaches and, in some cases, change existing behaviour.
|
||||||
|
|
||||||
|
Change can be the difficult part, not which brand you commit to, how often you push your code or when you write your tests.
|
Loading…
Reference in a new issue