BDD::Behave¶
The project URL for BDD::Behave is https://github.com/gdonald/BDD-Behave.
The latest version of this documentation lives at https://docs.behave.dev.
The homepage for BDD::Behave is https://behave.dev.
Synopsis¶
BDD::Behave is a behavior-driven development framework for Raku. Specs are ordinary Raku files that use BDD::Behave; and call exported DSL helpers (describe, context, it, let, before-each, expect, …) to build and run a tree of examples.
Currently developed against Raku v6.d.
Example Usage¶
specs/001-spec.raku
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
Run it with the behave runner:
1 | |
Output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Install¶
BDD::Behave can be installed using the zef module installation tool:
1 | |