[Issue 9727] Documented unittest comment should appear before Example section
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 18 12:49:26 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9727
--- Comment #6 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-18 12:49:25 PDT ---
(In reply to comment #3)
> I like this ER. It lets you describe the point of each example instead of
> forcing the user to read the code and figure it out (which kinda defeats the
> purpose of documentation, since the user may not understand what the code does
> in the first place).
Note that you already can insert comments into the body of the unittest and
describe the example there.
This just moves it outside and lets you document the whole bit at the top (and
this also avoids the // /** */ noise).
--
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