daily-email: add 2023-07-20
Tests as communication
This commit is contained in:
parent
7fa140db9c
commit
80ef277296
|
@ -1,10 +1,20 @@
|
|||
---
|
||||
title: >
|
||||
Why isnt TDD taught from day one?
|
||||
Tests as communication
|
||||
pubDate: 2023-07-20
|
||||
permalink: >
|
||||
archive/2023/07/20/why-isnt-tdd-taught-from-day-one
|
||||
# tags:
|
||||
# - a
|
||||
# - b
|
||||
archive/2023/07/20/tests-as-communication
|
||||
tags:
|
||||
- automated-testing
|
||||
- test-driven-development
|
||||
---
|
||||
|
||||
Automated tests aren't just checks to verify your software is working.
|
||||
|
||||
They're a communication tool that shows people working on the code how it's supposed to be used.
|
||||
|
||||
It's a form of documentation.
|
||||
|
||||
They are living examples of how to use the code with the benefit that you can run them and see if they still work, which isn't the case for markdown files or other types of static documentation that can become outdated.
|
||||
|
||||
Something I often do when evaluating or using software that has a test suite is review the tests and see how it's supposed to be used.
|
||||
|
|
Loading…
Reference in a new issue