Re:Unit Tests as Documentation
by sedatk on Friday October 18, 2024 @01:39AM
(#41876631)
I discovered that completely by surprise when I was learning Rust. I wrote code and unit tests, wrote some documentation, and I was blown away when I saw that my documentation also ran as part of the suite. Such a magical moment.
[ Parent
| on HN ]
There are no comments on this comment yet.