Parameterized unit testing and benchmarking of phobos

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 14 01:38:37 PDT 2014


On Tuesday, 14 October 2014 at 06:54:42 UTC, Martin Nowak wrote:
> On 10/08/2014 11:37 PM, Robert burner Schadek wrote:
>> Lately, I find myself wondering, if I should add parameterized 
>> unit
>> tests to std.string, because the last few bugs I fixed where 
>> not caught
>> by tests, as the test-data was not good enough. I know random 
>> data is
>> not perfect either, but it would be good addition IMO.
>>
>
> https://github.com/MartinNowak/qcheck
> Haven't used it for quite a while, file a bug report if 
> anything doesn't work.

well quite a nice and big library. You add the benchmark feature, 
get a merged into phobos and I will gladly use it to test 
std.string.


More information about the Digitalmars-d mailing list