News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.