The framing that the test suite is the documentation stuck with me: executing the examples removes the duplication rather than tracking it. Taking ideas from this, thank you!
The framing that the test suite is the documentation stuck with me: executing the examples removes the duplication rather than tracking it. Taking ideas from this, thank you!
We did it the other way around first, but it was a huge hassle and very hacky. Since we flipped it we've been much more satisfied with the system.
It's somewhat inspired by literate programming, but a bit flipped.