unencumbered 0.0.3

Support for Cucumber to write step descriptions in D


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

unencumbered

Unencumbered allows Cucumber to support step definitions written in D.

This is done by implementing the Cucumber wire protocol. The best way to get a feel for how it's used is to look at the calculator example. To run it, type dub run in the examples directory and cucumber from the same directory in another shell.

Unencumbered works by using compile-time reflection to find all the Cucumber step definitions written in D. That means that the server to be run for testing needs to make a call to runCucumberServer with all the modules to include in the search as compile-time string parameters.

Notice that the calculator examples use functions that take arguments of double type, not string. If a function is registered with types that don't match at run-time, an exception will be thrown. If a function with arity different from the number of capturing parentheses is registered, the code will not compile.

Authors:
  • Atila Neves
Dependencies:
vibe-d
Versions:
0.2.0 2014-May-02
0.1.2 2014-Apr-22
0.1.1 2014-Apr-22
0.1.0 2014-Apr-22
0.0.3 2014-Apr-20
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 292 downloads total

Score:
1.5
Short URL:
unencumbered.dub.pm