Skip to content

Releases: gwen-interpreter/gwen

2.11.3

22 Dec 14:20
Compare
Choose a tag to compare
  • Fix issue #40 reopened by @Rahul9844: support empty StepDef params in any position

2.11.2

20 Dec 13:17
Compare
Choose a tag to compare
  • Fix issue #40 raised by @Rahul9844: support empty StepDef params

2.11.1

04 Nov 00:10
Compare
Choose a tag to compare

Library updates:

  • Update scala from 2.12.3 to 2.12.4
  • Update gherkin from 4.1.3 to 5.0.0
  • Update scopt from 3.6.0 to 3.7.0
  • Update slf4j-log4j from 1.7.22 to 1.7.25
  • Update scala-logging from 3.5.0 to 3.7.2
  • Update jline from 2.14.2 to 2.14.5
  • Update commons-codec from 1.10 to 1.11
  • Update scala-csv from 1.3.4 to 1.3.5
  • Update json-path from 2.2.0 to 2.4.0
  • Update joda-time from 2.9.7 to 2.9.9

2.11.0

28 Sep 04:08
Compare
Choose a tag to compare
  • Add new DSL for working with delimited values
    • <step> for each <entry> in <source> delimited by "<delimiter>"
      • Calls <step> for each string entry in <source> text delimited by some value
  • Refactored attachments handling

2.10.1

21 Sep 01:57
Compare
Choose a tag to compare
  • Improved error handling for @Examples tag

2.10.0

18 Sep 23:23
Compare
Choose a tag to compare
  • Allow attributes in scoped data bindings to be overridden with blanks.
  • Add new DSLs
    • I capture <attribute> by javascript "<expression>"
      • Eagerly captures the result of a javascript expression
    • <step> if <condition>
      • Calls <step> if a javascript predicate <condition> returns true (skips it otherwise)
    • Feature request #34 (raised by @anshu781126) - SQL insert, update, and delete support
      • I update the <dbName> database by sql "<updateSmt>"
        • Runs an insert, update, or delete statement on a database
        • Number of rows affected accessible as attribute named '<dbName> rows affected'
  • Make current record of data feeds available through 'data record number' attribute
  • Make current record of for-each iteration available through '<element name> number' attribute
  • Make current record of repeat-until iteration available through 'iteration number' attribute
  • Fix error reporting for priority steps
  • Better error reporting for
    • nested settings properties that fail to resolve at load time
    • javascript errors
  • Implement #36 (raised by @anshu781126)- access feature file name and scenario name. The following named attributes are now implicitly available to all features at runtime:
    • gwen.feature.file.name
      • The feature file name
    • gwen.feature.file.path
      • The feature file path (as provided to Gwen on command line)
    • gwen.feature.file.absolutePath
      • The absolute feature file path
    • gwen.feature.name
      • The feature name (as specified in Feature clause)
    • gwen.scenario.name
      • The current scenario name (as specified in Scenario clause)
  • Allow override when using the following DSL to set a property value:
    • my <name> <property|setting> <is|will be> "<value>"
  • Add interpolation for filepath in @Examples tag

2.9.2

02 Sep 02:49
Compare
Choose a tag to compare
  • If no elements are found by for-each step, then set status to Passed instead of Skipped
    and display '-- none found --' in report line.

2.9.1

31 Aug 23:09
Compare
Choose a tag to compare
  • Allow dry run in REPL mode
  • Check sql db properties on dry run
  • ensure that repeat while/until steps fail correctly if the terminating condition is not satisfied before timeout
  • Use filename as hyperlink in HTML report summary line if feature has no name

2.9.0

23 Aug 13:50
Compare
Choose a tag to compare
  • Update Scala from 2.12.1 to 2.12.3
  • Update Gherkin from 4.0.0 to 4.1.3
  • Update Scopt from 3.5.0 to 3.6.0
  • send errors to system error
  • print REPL banner after meta load
  • use warn log level for case where no features were provided
  • Added support for binding SQL query using DocString syntax
    <attribute> <is|will be> defined in the <dbName> database by sql
      """
      <selectStmt>
      """
    

2.8.0

17 Jul 00:37
Compare
Choose a tag to compare

Full Gherkin syntax release

  • Add support for Doc Strings
  • Evaluate all javascript expressions in anonymous function block and move to ScriptSupport class
  • Add paste mode to REPL to support multiline step evaluation (steps with tables or docStrings)
  • Add Gherkin language header to Gwen model