Documentation unittests are seriously awesome

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 23 13:42:26 PDT 2016


Just had to say it. Been using it a lot this week.

Referring to this stuff:

----------------------------
/// Does foo stuff
void foo()
{}

///
unittest
{
     // Tests and docs in one, 2-for-1 win!
}
----------------------------

And all just built-in. Freaking sweet.


More information about the Digitalmars-d mailing list