Skip to content

Releases: ThoSe1990/cwt-cucumber

2.5

13 Dec 06:33
ee83da0
Compare
Choose a tag to compare

CWT-Cucumber 2.5 🎄

Added

  • --report-json [optional: file] to print the test results to json. (60)
    • Without file: Json output is on stdout
    • With file: Json output is in file, will override on existing file, does not work on .feature files

2.4

14 Nov 07:56
e8fc31f
Compare
Choose a tag to compare
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
  • Renamed example target box to example (56)

2.3.1

23 Oct 14:04
55be15e
Compare
Choose a tag to compare

CWT-Cucumber 2.3.1 👀

Added

  • Alternative words in steps (45)
    • Backslash to toggle between two words (e.g. is/are allows is and are in steps)
    • Parenthesis to make words or characters optional (e.g. item(s) will allow item and items in steps)

2.3.0

23 Oct 05:35
11b0165
Compare
Choose a tag to compare

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 as std::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.

2.2.0

16 Oct 13:40
b4fe4d0
Compare
Choose a tag to compare

CWT Cucumber 2.2.0 🚀

Added

  • CMake packaging (19)
  • Optional custom error messages for step asserts (28)

Fixed

  • Before all hook call at the end of test run (26)

2.1.0

16 Oct 07:18
a9c5297
Compare
Choose a tag to compare

CWT-Cucumber 2.1.0 ✨🥒

Added

  • Step definitions with ordinal numbers
  • Added hooks BEFORE_ALL, AFTER_ALL, executed once before and after the entire test run.

2.0.0

19 Aug 14:17
Compare
Choose a tag to compare

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.

1.2.2

12 Mar 11:51
1be6ca7
Compare
Choose a tag to compare

CWT-Cucumber 1.2.2 ✨

  • Run and compile time are measured and printed to final results
  • Command line option -h and --help print a help screen (if needed in own main use cwt::details::print_help(int argc, const char* argv[]))

1.2.1

26 Feb 20:36
Compare
Choose a tag to compare

CWT-Cucumber 1.2.1 ✨

Short release:

  • Changed: Empty Feature does not result in a compilation error
  • Fixed: Tags are inherited incorrectly

1.2.0

22 Feb 09:48
373ef8f
Compare
Choose a tag to compare

🥒 Cucumber tables release ✨

  • Support for tables
  • Doc Strings with backticks are possible
  • Added macros for doc string and table access