D-Programming-Language/dmd — pull request #1237 by AndrejMitrovic (2012-10-31 05:59:30+00:00)
Title: Fix Issue 2630 - ddoc should be able to document unittests

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

This is a fairly blunt but simple implementation. Otherwise you'd have to keep track of pointers to previous elements in unittest declarations and do all sorts of magic (like knowing where and when to insert text data) just to get this simple feature request done, and I don't see anyone else making pulls for this in over 4 years since the bug was filed.

If someone else can step up with a better implementation, feel free to do so!