Bug 14080 – No mention of documented unittests on ddoc's page

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-29T23:25:00Z
Last change time
2015-06-18T16:54:29Z
Keywords
ddoc, pull
Assigned to
nobody
Creator
home

Comments

Comment #0 by home — 2015-01-29T23:25:30Z
There is not a single word about documented unittests on http://dlang.org/ddoc.html This is a great feature, saving writers effort, and I only leared about it today by accident when I couldn't figure out what this pull was all about: https://github.com/D-Programming-Language/phobos/pull/2931
Comment #1 by andrej.mitrovich — 2015-02-01T21:56:20Z
It's on this page: http://dlang.org/unittest.html#documented-unittests It should probably be linked from the the ddoc page (or vice-versa, move the doc section to ddoc and link from the unittest page).
Comment #2 by home — 2015-02-01T22:37:30Z
Indeed, it's there, on the unittest page, and is exactly what I would have hoped for (preview of the generated document, example with embedded unittest in class to showcase a method). I even thought about writing some explanation myself... Good thing that I didn't jump into it straight away, because everything is already there, just not in the place one could expect it to be. Yes, the explanation fits the DDoc page more, but it may also just be copied there. Reading about it twice won't harm anyone and this feature might even achieve more traction this way.
Comment #3 by dev — 2015-04-21T11:08:36Z
Comment #4 by github-bugzilla — 2015-04-21T11:50:28Z
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/738506db345b483657cd11c63ad49ba1b566d5a5 Fix issue 14080 https://github.com/D-Programming-Language/dlang.org/commit/98c8d8146dac68a2fdd2d04a9596011c2ef7d187 Merge pull request #971 from nomad-software/issue_14080 Issue 14080 - No mention of documented unittests on ddoc's page
Comment #5 by github-bugzilla — 2015-06-18T16:54:29Z