[Issue 2630] ddoc should be able to document unittests

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 1 13:32:58 PST 2012


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



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-12-01 13:32:56 PST ---
(In reply to comment #3)
> A simple workaround is to look for the next element in the members list to see
> if it's a unittest declaration. If it is, and it's commented and not private,
> we can insert a "----%s----" code block in the previous element. This would be
> done until a non-unittest block is found, or until a private/non-commented one
> is found.
> 
> It's a ~20-line change to implement.

That was a hacky solution, I have a better one coming soon.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list