www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Documenting unit tests?

reply "Jeremy DeHaan" <dehaan.jeremiah gmail.com> writes:
I was looking some things up today, and saw this:

A unittest which is not documented, or is marked as private 
will not be used to generate code samples.
I have not once put any kind of documentation in front of unit tests, but they still run when using the -unittest switch. I haven't tested it with 2.065 yet. Is this new?
Feb 27 2014
parent "Jeremy DeHaan" <dehaan.jeremiah gmail.com> writes:
On Thursday, 27 February 2014 at 22:31:11 UTC, Jeremy DeHaan 
wrote:
 I was looking some things up today, and saw this:

A unittest which is not documented, or is marked as private 
will not be used to generate code samples.
I have not once put any kind of documentation in front of unit tests, but they still run when using the -unittest switch. I haven't tested it with 2.065 yet. Is this new?
Crap, sorry. Just realized this was for generating documentation example code. Sorry for the silly question!
Feb 27 2014