unit testing version statements

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 22 13:44:24 PDT 2014


On Friday, 22 August 2014 at 09:37:30 UTC, Robert burner Schadek 
wrote:
> On Friday, 22 August 2014 at 09:33:10 UTC, Kagamin wrote:
>> Compile and run the tests with different version options.
>
> that is not an option

Well, that's normally how it would be done. But if you need to 
test them all with the same build, it's probably easier if the 
unit tests are in separate modules, since then you can just set 
the version for the module without having to worry about 
resetting it.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list