unit testing

Caligo iteronvexor at gmail.com
Mon Mar 28 08:55:25 PDT 2011


On Mon, Mar 28, 2011 at 9:34 AM, David Nadlinger <see at klickverbot.at> wrote:
> On 3/28/11 4:23 PM, Ishan Thilina wrote:
>>
>> I see that almost all of the phobos library files have "unittests". Were
>> these
>> unit tests were created using some framework? If so, then what is it?
>>
>> Thank you...!
>
> No, these unit test were just written by hand while writing the
> corresponding pieces of code, and extended after a bug was fixed which they
> previously missed.
>
> Or was your question related to actually running them?
>
> David
>

and how does one do unit testing with GDC?  It works fine with DMD,
but GDC doesn't do unit testing when -unittest is supplied.


More information about the Digitalmars-d-learn mailing list