Releases: ThoSe1990/cwt-cucumber
Releases · ThoSe1990/cwt-cucumber
2.5
2.4
CWT Cucumber 2.4 ☃️
Added
cwt_cucumber
object for embedding CWT Cucumber and executing tests (49)--steps-catalog [optional: file]
to print the implemented steps as readable text to stdout or a given file (this does not write to '.feature' files) (50)--steps-catalog-json [optional: file]
to print the implemented steps as json to stdout or a given file (this does not write to '.feature' files) (50) (54)- Custom Parameter Types (56)
- Define custom types with
CUSTOM_PARAMETER(function-name, "{your type}", "regex pattern", "description") { your callback implementation }
- In your callback implement how to consume capture groups
- Access capture groups with
CUKE_PARAM_ARG(index)
, where index starts at 1 and goes from left to write
- Define custom types with
- Renamed example target
box
toexample
(56)
2.3.1
2.3.0
CWT-Cucumber 2.3.0 🌟
Added
- New
CWT_CUCUMBER_STEP_DELAY
environment variable to delay step execution (32) - Expressions
{word}
and{}
(anonymous) implemented. Note: both are treated asstd::string
(36) - Skip function:
cuke::skip_scenario
. Call This function in the before hook in order to skip a scenario (37)
Fixed
- Tags aren't ineherited correctly, when using tag expression (35)
- Integer and floating point types overwrite
{word}
and{}
in examples table (40)
Changed
- Unquotet strings are onlye for anonymous
{}
possible. Every{string}
value has to use quotes (42) - Type missmatches (e.g. no quotes on
{string}
) lead to an undefined step (42) - Stdout print in
Scenario Outline
: Values are within the step. Table prefix removed (42) - Internals: (42)
- Value representation is now a string: the interface in
cuke::value
is replaced with a simple string representation. - Step matching: Introduced regex. Each step is converted into a regex pattern
- Scenario Outline: All steps do a search and replace for their variables.
- Value representation is now a string: the interface in
2.2.0
2.1.0
2.0.0
CWT-Cucumber 2.0.0 🪄
A reimplementation of almost t he entire project. 2.0.0 creates the abstract syntax tree of a feature file. It implements the visitor pattern and enables better maintanability in the long run. No major changes from the outside view. All defines remained the same.