Unencumbered V0.1.2: Write Cucumber step definitions in D

Atila Neves via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Apr 28 01:50:24 PDT 2014


On Saturday, 26 April 2014 at 07:51:45 UTC, Jacob Carlborg wrote:
> 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

Oh. Oops.

Atila


More information about the Digitalmars-d-announce mailing list