Add runnable unittest marker for ddox - fixes #137#138
Conversation
|
Thanks for tackling this! I just tried to quickly verify this locally, and it basically worked with But I'd still favor the wrapping macro for the increased flexibility (being able to add prologue and epilogue at the same time). Maybe it also makes sense to pass the name of the unit test function to the macro as the first argument, so that it can be used as a unique identifier. The definition for |
139357f to
c34f35a
Compare
okay, but that yields the same result as e.g.
+1 (rebased the PR to your version)
Okay I will make a PR to dlang.org then ;-) |
Yes, will do immediately! |
|
Okay, 0.15.17 is up and includes the change. |
Literally the simplest solution for #137 - whenever I tried to wrap the magic
---it broke the comment or led to the same result as here:Maybe my Ddoc skills aren't that well, but OTOH a similar hack is used for dlang.org.
However, @s-ludwig if you have a smarter solution - please let me know ;-)
testsddox.docfile at dlang.org