D Unittest shortcomings with DLLs

Benjamin Thaut via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 4 23:48:08 PST 2015


On Thursday, 5 March 2015 at 07:42:10 UTC, Jacob Carlborg wrote:
> On 2015-03-05 08:38, Benjamin Thaut wrote:
>
>> I don't want to write new tests. I want to use the tests for 
>> phobos
>> which are already there. And I want to use them in a way, that 
>> if new
>> tests are added to phobos they are also tested against the dll 
>> version
>> of phobos. Yes integration tests would be nice, but the PR for 
>> Dll
>> support is already going to be huge without me adding 
>> integration tests.
>
> Wouldn't it require more code to write a tool that extracts the 
> unittest blocks?

I've written a simple D Tokenizer in a few lines of D code 
already. Building on that it would be pretty easy to extract 
unittest blocks.


More information about the Digitalmars-d mailing list