Behave v1.2.4 Release Notes

Release Date: 2014-03-02 // about 10 years ago
  • ๐Ÿš€ :Same as: Version 1.2.4a1 (unreleased).

    ๐Ÿ†• NEWS and CHANGES:

    • Running:

      • ABORT-BY-USER: Better handle KeyboardInterrupt to abort a test run.
      • feature list files (formerly: feature configfiles) support wildcards.
      • Simplify and improve setup of logging subsystem (related to: #143, #177)
    • Step matchers:

      • cfparse: Step matcher with "Cardinality Field" support (was: optional).
    • Formatters:

      • steps.usage: Avoid duplicated steps usage due to Scenario Outlines.
      • json: Ensures now that matched step params (match args) cause valid JSON.

    ๐Ÿ‘Œ IMPROVEMENT:

    • issue #108: behave.main() can be called with command-line args (provided by: medwards, jenisys)
    • issue #172: Subfolders in junit XML filenames (provided by: roignac).
    • issue #203: Integration with pdb (debug on error; basic support)
    • Simple test runner to run behave tests from "setup.py"

    ๐Ÿ›  FIXED:

    • issue #143: Logging starts with a StreamHandler way too early (provided by: jtatum, jenisys).
    • issue #175: Scenario isn't marked as 'failed' when Background step fails
    • issue #177: Cannot setup logging_format
    • issue #181: Escape apostrophes in undefined steps snippets
    • issue #184: TypeError when running behave with --include option (provided by: s1ider).
    • issue #186: ScenarioOutline uses wrong return value when if fails (provided by: mdavezac)
    • issue #188: Better diagnostics if nested step is undefined
    • issue #191: Using context.execute_steps() may change context.table/.text
    • issue #194: Nested steps prevent that original stdout/stderr is restored
    • issue #199: behave tag expression bug when or-not logic is used