Unencumbered V0.1.2: Write Cucumber step definitions in D

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Apr 24 11:53:21 PDT 2014


On 2014-04-23 15:24, Atila Neves wrote:
> Like testing with Cucumber? Wish you could call native D code with it?
> Now you can!
>
> http://code.dlang.org/packages/unencumbered
> https://github.com/atilaneves/unencumbered
>
> I especially like registering functions that take the parameters with
> the types they need from the regexp captures, as well as the
> compile-time failures that come from that if done incorrectly.
>
> Now I just need to use in "real life".

BTW, why is the description passed as a template argument to the 
Cucumber keywords. @Given!("foo") instead of @Given("foo")?

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list