Hacker News new | ask | show | jobs
by tomsmeding 2958 days ago
This also happens in the Rust documentation generator. The code snippets in any piece of Rust documentation are compiled and run, and the assertions found in it will be reported if they fail. They're sort-of automatically part of the test suite.