Unencumbered V0.1.2: Write Cucumber step definitions in D

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Apr 26 00:51:44 PDT 2014


On Friday, 25 April 2014 at 08:45:20 UTC, Atila Neves wrote:

> After I read the above I wasn't even sure how @Given("foo") 
> would work so I wrote some code and now know that all I need is 
> a struct with a regular string field. I think the documenation 
> on http://dlang.org/attribute.html is severely lacking.

What do you mean, it's right there, at the bottom of the first 
example [1]:

@Bar(3) int d;

[1] http://dlang.org/attribute.html#UserDefinedAttribute

--
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list