/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Unit tests as documentation
(www.thecoder.cafe)
174 points
thunderbong
| 1 comments |
17 Oct 24 17:22 UTC
|
HN request time: 0.246s
|
source
1.
najork
◴[
18 Oct 24 15:16 UTC
]
No.
41880195
[source]
▶
>>41871629 (OP)
#
Unit tests to assert a spec are great, but they don't provide any context as to why the spec was defined as it was. This context is critical when making changes to the spec, so unit tests on their own aren't sufficient in my experience.
ID:
GO
↑