All Versions
14
Latest Version
Avg Release Cycle
261 days
Latest Release
680 days ago

Changelog History
Page 1

  • v1.2.7.dev1

    December 15, 2019
  • v1.2.6 Changes

    February 25, 2018

    GOALS:

    • ๐Ÿ‘Œ Improve support for Windows

    ๐Ÿ“š DOCUMENTATION:

    • ๐Ÿ“š issue #625: Formatter documentation is inaccurate for some methods (reported by: throwable-one)
    • ๐Ÿ“„ pull #618: Fix a typo in the background section of gherkin docs (provided by: mrrn)
    • pull #609: Describe execute_steps() behaviour correctly (provided by: mixxorz)
    • โšก๏ธ pull #603: Update typo tutorial.rst (provided by: fnaval)
    • ๐Ÿ“š pull #601: Add Flask integration chapter to documentation (provided by: bittner)
    • pull #580: Fix some dead ecosystem links (provided by: smadness)
    • pull #579: Add explanation for step_impl function name (provided by: bittner)
    • ๐Ÿ›  issue #574: flake8 reports F811 redefinition of unused 'step_impl' (fixed by #579).
    • pull #545: Spell "section" correctly (provided by: chelmertz)
    • ๐Ÿ“„ pull #489: Fix link to Selenium docs in Django chapter (provided by: bittner)
    • pull #469: Fix typo in "formatters.rst" (provided by: ab9-er)
    • pull #443: Fixing grammar in philosophy.rst (provided by: jamesroutley)
    • โœ… pull #441: Integrate hint on testing more nicely (provided by: bittner)
    • pull #429: Replace "Manual Integration" by "Automation Libraries" section (provided by: bittner)
    • pull #379: Correct wording in README.rst (provided by: franklinchou)
    • ๐Ÿ›  pull #362: docs/tutorial.rst: fixed non-monospace font (provided by: spacediver)
    • ๐Ÿ“š pull #359: Update documentation related to Django (behave-django) (provided by: bittner)
    • ๐Ÿ“„ pull #326: docs/tutorial.rst: Correct features directory path creation (provided by: memee)
    • ๐Ÿ“„ issue #356: docs/api.rst: type in implementation (submitted by: tomxtobin)
    • ๐Ÿ“„ pull #335: docs/api.rst: execute_steps() example (provided by: miabbott)
    • pull #339: Adapt wording in install.rst (provided by: charleswhchan)
    • ๐Ÿ“„ pull #338: docs/philosophy.rst: Correct to uppercase in example (provided by: charleswhchan)
    • โšก๏ธ issue #323: Update Django Example to work with version >=1.7 (submitted by: mpetyx, provided by: bittner)
    • pull #327: Fix typo in Django doc (provided by: nikolas)
    • โšก๏ธ pull #321: Update Django integration (provided by: bittner, contains: #315, #316)
    • ๐Ÿ›  FIX: cmdline/config-param doc-generator, avoid duplicated param entries (related to: #318)
    • โšก๏ธ issue #317: Update comparison: lettuce tags (provided by: ramiabughazaleh)
    • pull #307: Typo in readme (provided by: dflock)
    • ๐Ÿ›  pull #305: behave.rst related fixes reapplied (provided by: bittner)
    • pull #292: Use title-cased keywords in tutorial scenario (provided by: neoblackcap)
    • ๐Ÿ“„ pull #291: Tiny tweaks in tutorial docs (provided by: bernardpaulus)

    SITE:

    • pull #626: Formatting issue in stale-bot config (provided by: teapow)
    • โšก๏ธ pull #343: Update/fix badges in README (provided by: mixxorz)

    โœจ ENHANCEMENTS:

    • ๐Ÿ›  fixtures: Add concept to simplify setup/cleanup tasks for scenario/feature/test-run
    • โœ… context-cleanups: Use context.add_cleanup() to perform cleanups after scenario/feature/test-run.
    • ๐Ÿท Tagged Examples: Examples in a ScenarioOutline can now have tags.
    • ๐ŸŒ pull #596: Add missing Czech translation (provided by: hason)
    • pull #554: Adds galician language (provided by: carlosgoce)
    • pull #447: behave settings from tox.ini (provided by: bittner)
    • ๐Ÿ‘ issue #411: Support multiple active-tags with same category (submitted by: Kani999)
    • ๐Ÿ‘ issue #409: Support async/@asyncio.coroutine steps (submitted by: dcarp)
    • issue #357: Add language attribute to Feature class
    • ๐Ÿ‘• pull #328: Auto-retry failed scenarios in unreliable environment (provided by: MihaiBalint, robertknight)
    • ๐Ÿ‘ issue #302: Support escaped-pipe in Gherkin table cell value (provided by: connorsml, pull #360)
    • 0๏ธโƒฃ issue #301: Support default tags in configfile
    • issue #299: Runner can continue after a failed step (same as: #314)
    • ๐Ÿ‘ป issue #197: Hooks processing should be more exception safe (provided by: vrutkovs, jenisys, pull #205)

    FORMATTERS:

    • ๐Ÿšš pull #446: Remove Formatter scenario_outline(), examples() method (provided by: aisbaa, jenisys)
    • pull #448: json: Add status to scenarios in JSON report (provided by: remcowesterhoud)
    • issue #462: json: Invalid JSON output when no features are selected (submitted by: remcowesterhoud)
    • ๐Ÿ‘ pull #423: sphinx.steps: Support ref link for each step (provided by: ZivThaller)
    • ๐Ÿ–จ pull #460: pretty: Print the step implementation location when dry-run (provided by: unklhe, jenisys)

    REPORTERS:

    • โœ… junit: Add timestamp and hostname attributes to testsuite XML element.
    • ๐Ÿ‘ junit: Support to tweak output with userdata (experimental).
    • ๐Ÿ‘ junit: Support scenario hook-errors with JUnitReporter (related to: #466)

    ๐Ÿ”„ CHANGES:

    • status: Use Status enum-class for feature/scenario/step.status (was: string)
    • hook-processing: Skips now feature/scenario/step if before-hook fails (related to: #454)
    • ๐Ÿ“œ parser: language comment in feature file has higher priority than --lang option (related to: #334).
    • issue #385: before_scenario/before_feature called too late (submitted by: BRevzin)

    ๐Ÿ›  FIXED:

    • issue #606: Using name option w/ special unicode chars (submitted by: alluir42)
    • ๐Ÿ“œ issue #547: Crash when using step definition with optional cfparse parts (provided by: ftartaggia, jenisys)
    • ๐Ÿ pull #599: Steps from another Windows drive (provided by: psicopep)
    • ๐Ÿ—„ issue #582: behave emitting PendingDeprecationWarning messages (submitted by: adamjcooper)
    • pull #476: scenario.status when scenario without steps is skipped (provided by: ar45, jenisys)
    • pull #471: convert an object to unicode (py2) using unicode method first unicode (provided by: ftartaggia)
    • issue #458: UnicodeEncodeError inside naked except block in main.py (submitted by: mseery)
    • issue #453: Unicode chars are broken in stacktrace (submitted by: throwable-one)
    • ๐Ÿ’… issue #455: Restore backward compatibility to Cucumber style RegexMatcher (submitted by: avabramov)
    • issue #449: Unicode is processed incorrectly for Py2 in "textutil.text" (submitted by: throwable-one)
    • issue #446: after_scenario HOOK-ERROR asserts with jUnit reporter (submitted by: lagin)
    • ๐Ÿ‘ป issue #424: Exception message with unicode characters in nested steps (submitted by: yucer)
    • issue #416: JUnit report messages cut off (submitted by: remcowesterhoud, provided by: bittner)
    • ๐Ÿ‘ issue #414: Support for Jython 2.7 (submitted by: gabtwi...)
    • issue #384: Active Tags fail with ScenarioOutline (submitted by: BRevzin)
    • ๐Ÿ“œ issue #383: Handle (custom) Type parsing errors better (submitted by: zsoldosp)
    • pull #382: fix typo in tag name (provided by: zsoldosp)
    • issue #361: utf8 file with BOM (provided by: karulis)
    • issue #349: ScenarioOutline skipped with --format=json
    • issue #336: Stacktrace contents getting illegal characters inserted with text function (submited by: fj40bryan)
    • issue #330: Skipped scenarios are included in junit reports when --no-skipped is specified (provided by: vrutkovs, pull #331)
    • issue #320: Userdata is case-insensitive when read from config file (provided by: mixxorz)
    • issue #319: python-version requirements in behave.whl for Python2.6 (submitted by: darkfoxprime)
    • issue #310: Use setuptools_behave.py with behave module
    • issue #309: behave --lang-list fails on Python3 (and Python2)
    • issue #300: UnicodeDecodeError when read steps.py (similar to: #361)
    • ๐Ÿ–จ issue #288: Use print function instead print statement in environment/steps files
  • v1.2.5 Changes

    January 31, 2015

    ๐Ÿš€ :Same as: Version 1.2.5a1 (unreleased).

    ๐Ÿ†• NEWS and CHANGES:

    • General:

      • Improve support for Python3 (py3.3, py3.4; #268)
      • Various unicode related fixes (Unicode errors with non-ASCII, etc.)
      • Drop support for Python 2.5
    • Running:

      • ScenarioOutline: Annotates name with row.id, ... to better represent row.
      • NEW: Active Tags, see docs (New and Noteworthy_).
      • NEW: Test stages, see docs (New and Noteworthy_).
      • NEW: User-specific configuration data, see docs (New and Noteworthy_).
      • CHANGED: Undefined step snippet uses now NotImplementedError (related to: #254)
    • Model:

      • ScenarioOutline: Various improvements, see docs (New and Noteworthy_).
    • Formatters:

      • plain: Can now show tags, but currently disabled per default
      • NEW: steps.catalog: Readable summary of all steps (similar to: steps.doc, #271)
      • NEW: User-defined formatters, see docs (New and Noteworthy_).

    โœจ ENHANCEMENTS:

    • pull #285: Travis CI improvements to use container environment, etc. (provided by: thedrow)
    • pull #272: Use option role to format command line arg docs (provided by: helenst)
    • pull #271: Provide steps.catalog formatter (provided by: berdroid)
    • pull #261: Support "setup.cfg" as configuration file, too (provided by: bittner)
    • pull #260: Documentation tweaks and typo fixes (provided by: bittner)
    • pull #254: Undefined step raises NotImplementedError instead of assert False (provided by: mhfrantz)
    • issue #242: JUnitReporter can show scenario tags (provided by: rigomes)
    • issue #240: Test Stages with different step implementations (provided by: attilammagyar, jenisys)
    • issue #238: Allow to skip scenario in step function (provided by: hotgloupi, jenisys)
    • issue #228: Exclude scenario fron run (provided by: jdeppe, jenisys)
    • issue #227: Add a way to add command line options to behave (provided by: attilammagyar, jenisys)

    ๐Ÿ›  FIXED:

    • pull #283: Fix "fork me" image in docs (provided by: frodopwns)
    • issue #280: Fix missing begin/end-markers in RegexMatcher (provided by: tomekwszelaki, jenisys)
    • pull #268: Fix py3 compatibility with all tests passed (provided by: sunliwen)
    • pull #252: Related to #251 (provided by: mcepl)
    • pull #190: UnicodeDecodeError in tracebacks (provided by: b3ni, vrutkovs, related to: #226, #230)
    • issue #257: Fix JUnitReporter (XML) for Python3 (provided by: actionless)
    • issue #249: Fix a number of docstring problems (provided by: masak)
    • issue #253: Various problems in PrettyFormatter.exception()
    • issue #251: Unicode crash in model.py (provided by: mcepl, jenisys)
    • issue #236: Command line docs are confusing (solved by: #272)
    • issue #230: problem with assert message that contains ascii over 128 value (provided by: jenisys)
    • issue #226: UnicodeDecodeError in tracebacks (provided by: md1023, karulis, jenisys)
    • issue #221: Fix some PY2/PY3 incompatibilities (provided by: johbo)
    • pull #219: IDE's unknown modules import issue (provided by: xbx)
    • issue #216: Using --wip option does not disable ANSI escape sequences (coloring).
    • issue #119: Python3 support for behave (solved by: #268 and ...)
    • issue #82: JUnitReporter fails with Python 3.x (fixed with: #257, #268)

    ๐Ÿ“„ .. _New and Noteworthy: https://github.com/behave/behave/blob/master/docs/new_and_noteworthy.rst

  • v1.2.4 Changes

    March 02, 2014

    ๐Ÿš€ :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
  • v1.2.3 Changes

    July 08, 2013

    โœ… Latest stable version. Same as last development version.

  • v1.2.3.a20 Changes

    July 08, 2013

    ๐Ÿ†• NEWS and CHANGES:

    • Install:

      • Require now parse>=1.6.2 to enforce log-bugfix #14 (was: parse>=1.6)
    • Running:

      • load_step_definitions: Are now sorted before loading (due to: Linux, ...).
      • NEW: Use lazy-loading for formatters if possible (speed up self-tests by 20%).
    • Model:

      • location: Now a FileLocation object (was: string), required for ordering.
    • Formatters:

      • NEW: progress3 formatter, ScenarioStepProgressFormatter (provided by: roignac).
      • NEW: sphinx.steps formatter, generate Sphinx-based docs for step definitions (related to #166).
      • NEW: steps formatter, shows available step definitions.
      • NEW: steps.doc formatter, shows documentation of step definitions (related to: #55).
      • NEW: steps.usage formatter, shows where step definitions are used.
      • RENAMED: json-pretty, tag_count, tag_location => json.pretty, tags, tags.location
      • help: Shows now a better formatted list (improve readability).

    ๐Ÿ‘Œ IMPROVEMENT:

    • issue #166: behave should have a tool (or formatter) that generates Sphinx-based documentation (basics provided).

    ๐Ÿ›  FIXED:

    • issue #172: JUnit report filename sometimes truncated (provided by: roignac).
    • issue #171: Importing step from other step file fails with AmbiguousStep Error.
    • issue #165: FIX issue #114: do not print a blank line when the feature is skipped (provided by: florentx).
    • issue #164: StepRegistry.find_match() extends registered step_type lists.
    • issue #122: Failing selftest feature: selftest.features/duplicated_step.feature.
    • issue #110: Normalize paths provided at the command line (provided by: jesper).
  • v1.2.3.a19 Changes

    May 18, 2013

    ๐Ÿ†• NEWS and CHANGES:

    • Running (and model):

      • NEW: Support scenario file locations on command-line, ala: "{filename}:{line}" (related to: #160).
      • Formatters are now created only once (was: once for each feature).
      • Scenarios can be now be selected by name or regular expression (#87).
      • Dry-run mode: Detects now undefined steps.
      • Dry-run mode: Uses untested counts now (was using: skipped counts).
      • Run decision logic: Use ModelElement.mark_skipped() to preselect what not to run.
      • Run decision logic: Use ModelElement.should_run() to decide if element should run.
    • Parsing (and model):

      • Parser: Add support for Scenario/ScenarioOutline descriptions (related to: #79).
      • Parser: Refactor to simplify and avoid code duplications (related to: #79).
      • Parser: Improve diagnostics when parse errors occur.
      • Parser: Check that Backgrounds have no tags.
      • NEW: json_parser, parses JSON output and builds model.
      • json_parser: Add support for scenario descriptions (related to: #79).
    • Formatters:

      • INCOMPATIBLE CHANGE: Formatter Ctor uses now StreamOpener instead of opened Stream. Formatter output streams are now opened late, under control of the formatter. This allows the formatter to support also directory mode (if needed). Needed for RerunFormatter whose file was overwritten before it was read (#160).
      • NEW: RerunFormatter to simplify to rerun last failing scenarios (related to: #160).
      • NEW: TagLocationFormatter, shows where tags are used.
      • NEW: TagCountFormatter, shows which tags are used and how often (reborn).
      • JSONFormatter: Use JSON array mode now (related to: #161).
      • JSONFormatter: Added "type" to Background, Scenario, ScenerioOutline (related to: #161).
      • JSONFormatter: Added "error_message" to result (related to: #161).
      • JSONFormatter: Use now list instead of string for multi-line text (related to: #161).
      • JSONFormatter: Add support for scenario descriptions (related to: #79).
      • JSONFormatter: Generates now valid JSON (well-formed).
      • PlainFormatter: Shows now multi-line step parts (text, table), too.
      • PrettyFormatter: Enters now monochrome mode if output is piped/redirected.
      • ProgressFormatter: Flushes now output to provide better feedback.
    • Reporters:

      • JUnitReporter: Show complete scenario w/ text/tables. Improve readability.
      • SummaryReporter: Summary shows now untested items if one or more exist.
    • Testing, development:

      • tox: Use tox now in off-line mode per default (use: "tox -e init"...).
      • Add utility script to show longest step durations based on JSON data.
      • JSON: Add basic JSON schema to support JSON output validation (related to: #161).
      • JSON: Add helper script to validate JSON output against its schema (related to: #161).

    ๐Ÿ‘Œ IMPROVEMENT:

    • issue #161: JSONFormatter: Should use a slightly different output schema (provided by: jenisys)
    • issue #160: Support rerun file with failed features/scenarios during the last test run (provided by: jenisys)
    • issue #154: Support multiple formatters (provided by: roignac, jenisys)
    • issue #103: sort feature file by name in a given directory (provided by: gurneyalex).
    • issue #102: Add configuration file setting for specifying default feature paths (provided by: lrowe).
    • issue #87: Add --name option support (provided by: johbo, jenisys).
    • issue #79: Provide Support for Scenario Descriptions (provided by: caphrim007, jenisys).
    • issue #42: Show all undefined steps taking tags into account (provided by: roignac, jenisys)

    ๐Ÿ›  FIXED:

    • issue #162 Unnecessary ContextMaskWarnings when assert fails or exception is raised (provided by: jenisys).
    • issue #159: output stream is wrapped twice in the codecs.StreamWriter (provided by: florentx).
    • issue #153: The runtime should not by-pass the formatter to print line breaks minor.
    • issue #152: Fix encoding issues (provided by: devainandor)
    • issue #145: before_feature/after_feature should not be skipped (provided by: florentx).
    • issue #141: Don't check for full package in issue 112 (provided by: roignac).
    • issue #125: Duplicate "Captured stdout" if substep has failed (provided by: roignac).
    • issue #60: JSONFormatter has several problems (last problem fixed).
    • issue #48: Docs aren't clear on how Background is to be used.
    • issue #47: Formatter processing chain is broken (solved by: #154).
    • issue #33: behave 1.1.0: Install fails under Windows (verified, solved already some time ago).
    • issue #28: Install fails on Windows (verified, solved already some time ago).
  • v1.2.2 Changes

    August 21, 2012
    • ๐Ÿ›  Fix for an error when an assertion message contains Unicode characters.
    • Don't repr() the step text in snippets to avoid turning Unicode text into backslash hell.
  • v1.2.2.18 Changes

    March 20, 2013

    ๐Ÿ†• NEWS and CHANGES:

    • NullFormatter provided
    • model.Row: Changed Ctor parameter ordering, move seldom used to the end.
    • model.Row: Add methods .get(), .as_dict() and len operator (related to: #27).
    • Introduce behave.compat as compatibility layer for Python versions.

    ๐Ÿ‘Œ IMPROVEMENT:

    • issue #117: context.execute_steps() should also support steps with multi-line text or table
    • issue #116: SummaryReporter shows list of failing scenarios (provided by: roignac).
    • issue #112: Improvement to AmbiguousStep error diagnostics
    • issue #74: django-behave module now available at pypi (done: 2012-10-04).
    • issue #27: Row should support .get() to be more dict-like

    ๐Ÿ›  FIXED:

    • issue #135: Avoid leaking globals between step modules.
    • issue #114: No blank lines when option --no-skipped is used (provided by: florentx).
    • issue #111: Comment following @wip tag results in scenario being ignored
    • issue #83: behave.main:main() Various sys.exit issues
    • issue #80: source file names not properly printed with python 3.3.0
    • issue #62: --format=json: Background steps are missing (fixed: some time ago).

    RESOLVED:

    • issue #98: Summary should include the names of the first X tests that failed (solved by: #116).
  • v1.2.2.16 Changes

    February 10, 2013

    ๐Ÿ†• NEW:

    • "progress" formatter added (from jenisy-repo).
    • Add "issue.features/" to simplify verification/validation of issues (from jenisy-repo).

    ๐Ÿ›  FIXED:

    • issue #107: test/ directory gets installed into site-packages
    • issue #99: Layout variation "a directory containing your feature files" is broken for running single features
    • issue #96: Sub-steps failed without any error info to help debug issue
    • issue #85: AssertionError with nested regex and pretty formatter
    • issue #84: behave.runner behave does not reliably detected failed test runs
    • issue #75: behave @list_of_features.txt is broken.
    • issue #73: current_matcher is not predictable.
    • issue #72: Using GHERKIN_COLORS caused an TypeError.
    • issue #70: JUnitReporter: Generates invalid UTF-8 in CDATA sections (stdout/stderr output) when ANSI escapes are used.
    • issue #69: JUnitReporter: Fault when processing ScenarioOutlines with failing steps
    • issue #67: JSON formatter cannot serialize tables.
    • issue #66: context.table and context.text are not cleared.
    • issue #65: unrecognized --tag-help argument.
    • issue #64: Exit status not set to 1 even there are failures in certain cases (related to: #52)
    • issue #63: 'ScenarioOutline' object has no attribute 'stdout'.
    • issue #35: "behave --format=plain --tags @one" seems to execute right scenario w/ wrong steps
    • issue #32: "behave ... --junit-directory=xxx" fails for more than 1 level

    RESOLVED:

    • issue #81: Allow defining steps in a separate library.
    • issue #78: Added references to django-behave (pull-request).
    • issue #77: Does not capture stdout from sub-processes

    REJECTED:

    • issue #109: Insists that implemented tests are not implemented (not reproducable)
    • issue #100: Forked package installs but won't run on RHEL.
    • issue #88: Python 3 compatibility changes (=> use 2to3 tool instead).

    DUPLICATED:

    • issue #106: When path is to a feature file only one folder level usable (same as #99).
    • issue #105: behave's exit code only depends on the last scenario of the last feature (same as #95).
    • issue #95: Failed test run still returns exit code 0 (same as #84, #64).
    • issue #94: JUnit format does not handle ScenarioOutlines (same as #69).
    • issue #92: Output from --format=plain shows skipped steps in next scenario (same as #35).
    • issue #34: "behave --version" runs features, but shows no version (same as #30)