Behave v1.2.7.dev1 Release Notes

Release Date: 2019-12-15 // over 4 years ago

Previous changes from v1.2.6

  • 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