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 :
@Bar(3) int d;  http://dlang.org/attribute.html#UserDefinedAttribute -- /Jacob Carlborg