D-Programming-Language/dmd — pull request #1342 by AndrejMitrovic (2012-12-01 21:38:22+00:00)
Title: Fix Issue 2630 - Support documenting unittest code as code samples.

http://d.puremagic.com/issues/show_bug.cgi?id=2630

This enables automatically creating code samples in ddoc for unittests which are public, documented, and have a non-empty function body.

@andralex: @notice since this was your feature request.