dherkin 0.3.0
dherkin: ^0.3.0 copied to clipboard
Gherkin/Cucumber implementation in dart
dherkin #
Gherkin parser and runner for dart. Currently provides basic Cucumber-like functionality for Behavior Driven Development (BDD).
Usage #
- Create your runner
my_bdd_runner.dart:library my_bdd_runner; import 'package:dherkin/dherkin.dart'; main(args) { run(args); } // write your StepDefs below - Write gherkin
my_gherkin.feature - Invoke the runner :
$ dart my_bdd_runner.dart my_gherkin.feature - Copy and paste generated step definitions.
- Implement!
Caveat #
Currently, there is no way to procedurally import dart sources. This means that all step def providing files need to be manually imported. :(