March 22
https://issues.dlang.org/show_bug.cgi?id=24448

          Issue ID: 24448
           Summary: ddoc could make unittest attributes available
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: nick@geany.org

Currently unittest attributes are ignored by ddoc. Ddoc should provide a way of exposing these, so they can be rendered. Output e.g.

Example:                 @safe @nogc
------------------------------------
// safe nogc unittest code
------------------------------------

Example:                     @system
------------------------------------
// system unittest code
------------------------------------

Perhaps introduce a macro DDOC_UNITTEST where the first argument is the attributes written in the source code before the unittest keyword, and the second argument is the unittest code.

--