How to run unit tests with DSSS and GDC?
Posted
by Benoit Vidis
on Stack Overflow
See other posts from Stack Overflow
or by Benoit Vidis
Published on 2010-03-04T17:19:18Z
Indexed on
2010/05/12
1:44 UTC
Read the original article
Hit count: 377
I am very new to D and still battling trying to configure my toolchain.
I am running Ubuntu Karmic and would like to use DSSS with GDC and Tango or TangoBos.
Till now, I installed GDC from Ubuntu repositories, DSSS, Tango and TangoBos from these repositories and I can compile using dsss + gdc + tangobos.
According to DSSS documentation, it should be possible to run the unit tests using
$ dsss build --test
but on my system, the --test argument is ignored. I have dsss last version (0.78) and its inline help does not include anything about unit tests.
Running ldc --unittest works fine (though I do not know exactly which libray it picks up).
Is there a way to run my unit tests using the same compiler & library than for compilation?
If so, is there a way to automate the testing or will I have to run it module per module?
© Stack Overflow or respective owner