unittests are really part of the build, not a special run

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 3 12:18:56 PDT 2015


On 2015-04-02 22:34, Dicebot wrote:

> Oh yeah, looking forward to listening it :) I had an unpleasant
> experience of encountering Cucumber when trying to contribute to dstep
> so this specific name is like a trigger to me :)

Yeah, I don't like how it ended up in DStep. I'm using it completely 
wrong, I'm just too lazy to fix it. Currently it basically compares two 
strings, the input and the output. I had some big plans for it but that 
never happened. Currently The only advantage is the runner, i.e. it 
shows a nice output, it's possible to only run a single test, it does 
stop all test at the first failure. All the thing Andrei wants to fix in 
D it seems :)

In the case of DStep you can mostly ignore the Cucumber part and just 
focus on the input and expected files. You can even run the tests 
without it, just run DStep on the input file compare the output with the 
expected file.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list