pytest-bdd/CHANGES.rst

429 lines
9.1 KiB
ReStructuredText
Raw Normal View History

2013-08-19 07:17:41 +08:00
Changelog
=========
This relase introduces breaking changes, please refer to the :ref:`Migration from 3.x.x`.
- Strict Gherkin option is removed. (olegpidsadnyi)
- Given step is no longer a fixture. The scope parameter is also removed. (olegpidsadnyi)
- Fixture parameter is removed from the given step declaration. (olegpidsadnyi)
- ``pytest_bdd_step_validation_error`` hook is removed. (olegpidsadnyi)
- Fix an error with pytest-pylint plugin #374. (toracle)
- Fix pytest-xdist 2.0 compatibility #369. (olegpidsadnyi)
2020-06-04 23:06:05 +08:00
3.4.0
-----
- Parse multiline steps according to the gherkin specification #365.
2020-04-23 04:00:25 +08:00
3.3.0
-----
- Drop support for pytest < 4.3.
- Fix a Python 4.0 bug.
2019-08-24 03:53:42 +08:00
- Fix ``pytest --generate-missing`` functionality being broken.
2019-10-21 00:55:36 +08:00
- Fix problematic missing step definition from strings containing quotes.
2020-04-23 04:00:25 +08:00
- Implement parsing escaped pipe characters in outline parameters (Mark90) #337.
- Disable the strict Gherkin validation in the steps generation (v-buriak) #356.
2019-08-24 03:53:42 +08:00
3.2.1
----------
- Fix regression introduced in 3.2.0 where pytest-bdd would break in presence of test items that are not functions.
2019-08-20 17:07:11 +08:00
3.2.0
----------
2019-08-19 19:29:27 +08:00
- Fix Python 3.8 support
2019-08-20 17:07:11 +08:00
- Remove code that rewrites code. This should help with the maintenance of this project and make debugging easier.
2019-08-19 19:29:27 +08:00
2019-07-08 17:55:49 +08:00
3.1.1
----------
- Allow unicode string in ``@given()`` step names when using python2.
This makes the transition of projects from python 2 to 3 easier.
2019-02-19 21:01:37 +08:00
3.1.0
----------
2019-02-19 20:41:17 +08:00
- Drop support for pytest < 3.3.2.
- Step definitions generated by ``$ pytest-bdd generate`` will now raise ``NotImplementedError`` by default.
- ``@given(...)`` no longer accepts regex objects. It was deprecated long ago.
- Improve project testing by treating warnings as exceptions.
- ``pytest_bdd_step_validation_error`` will now always receive ``step_func_args`` as defined in the signature.
2019-02-17 18:44:08 +08:00
3.0.2
------
- Add compatibility with pytest 4.2 (sliwinski-milosz) #288.
3.0.1
------
- Minimal supported version of `pytest` is now 2.9.0 as lower versions do not support `bool` type ini options (sliwinski-milosz) #260
- Fix RemovedInPytest4Warning warnings (sliwinski-milosz) #261.
2018-10-18 18:53:41 +08:00
3.0.0
------
2018-10-18 19:03:41 +08:00
- Fixtures `pytestbdd_feature_base_dir` and `pytestbdd_strict_gherkin` have been removed. Check the `Migration of your tests from versions 2.x.x <README.rst>`_ for more information (sliwinski-milosz) #255
2018-10-18 19:10:43 +08:00
- Fix step definitions not being found when using parsers or converters after a change in pytest (youtux) #257
2018-04-04 22:13:29 +08:00
2.21.0
------
- Gherkin terminal reporter expanded format (pauk-slon)
2.20.0
------
- Added support for But steps (olegpidsadnyi)
- Fixed compatibility with pytest 3.3.2 (olegpidsadnyi)
- MInimal required version of pytest is now 2.8.1 since it doesn't support earlier versions (olegpidsadnyi)
2017-11-02 23:26:40 +08:00
2.19.0
------
- Added --cucumber-json-expanded option for explicit selection of expanded format (mjholtkamp)
- Step names are filled in when --cucumber-json-expanded is used (mjholtkamp)
2.18.2
------
- Fix check for out section steps definitions for no strict gherkin feature
2016-11-05 18:28:59 +08:00
2.18.1
------
- Relay fixture results to recursive call of 'get_features' (coddingtonbear)
2.18.0
------
- Add gherkin terminal reporter (spinus + thedrow)
2.17.2
------
- Fix scenario lines containing an ``@`` being parsed as a tag. (The-Compiler)
2016-08-21 22:05:31 +08:00
2.17.1
------
- Add support for pytest 3.0
2016-06-30 01:25:12 +08:00
2.17.0
------
- Fix FixtureDef signature for newer pytest versions (The-Compiler)
- Better error explanation for the steps defined outside of scenarios (olegpidsadnyi)
2016-06-22 00:27:02 +08:00
- Add a ``pytest_bdd_apply_tag`` hook to customize handling of tags (The-Compiler)
2016-06-29 23:17:51 +08:00
- Allow spaces in tag names. This can be useful when using the
``pytest_bdd_apply_tag`` hook with tags like ``@xfail: Some reason``.
2.16.1
------
- Cleaned up hooks of the plugin (olegpidsadnyi)
- Fixed report serialization (olegpidsadnyi)
2015-12-21 01:28:48 +08:00
2.16.0
------
- Fixed deprecation warnings with pytest 2.8 (The-Compiler)
- Fixed deprecation warnings with Python 3.5 (The-Compiler)
2.15.0
------
- Add examples data in the scenario report (bubenkoff)
2015-08-31 16:32:57 +08:00
2.14.5
------
- Properly parse feature description (bubenkoff)
2.14.3
------
- Avoid potentially random collection order for xdist compartibility (bubenkoff)
2.14.1
2015-07-14 00:26:51 +08:00
------
- Pass additional arguments to parsers (bubenkoff)
2.14.0
------
- Add validation check which prevents having multiple features in a single feature file (bubenkoff)
2.13.1
------
- Allow mixing feature example table with scenario example table (bubenkoff, olegpidsadnyi)
2015-06-21 06:38:02 +08:00
2.13.0
------
- Feature example table (bubenkoff, sureshvv)
2.12.2
------
- Make it possible to relax strict Gherkin scenario validation (bubenkoff)
2015-06-16 04:35:22 +08:00
2.11.3
------
- Fix minimal `six` version (bubenkoff, dustinfarris)
2.11.1
------
- Mention step type on step definition not found errors and in code generation (bubenkoff, lrowe)
2.11.0
------
- Prefix step definition fixture names to avoid name collisions (bubenkoff, lrowe)
2.10.0
------
- Make feature and scenario tags to be fully compartible with pytest markers (bubenkoff, kevinastone)
2.9.1
-----
- Fixed FeatureError string representation to correctly support python3 (bubenkoff, lrowe)
2015-05-24 06:25:52 +08:00
2.9.0
-----
- Added possibility to inject fixtures from given keywords (bubenkoff)
2015-05-18 19:38:00 +08:00
2.8.0
-----
- Added hook before the step is executed with evaluated parameters (olegpidsadnyi)
2.7.2
-----
- Correct base feature path lookup for python3 (bubenkoff)
2.7.1
-----
- Allow to pass ``scope`` for ``given`` steps (bubenkoff, sureshvv)
2.7.0
-----
- Implemented `scenarios` shortcut to automatically bind scenarios to tests (bubenkoff)
2015-03-15 21:51:35 +08:00
2.6.2
-----
2015-03-15 23:26:56 +08:00
- Parse comments only in the begining of words (santagada)
2015-03-15 21:51:35 +08:00
2015-01-13 22:33:54 +08:00
2.6.1
2015-01-09 05:13:08 +08:00
-----
- Correctly handle `pytest-bdd` command called without the subcommand under python3 (bubenkoff, spinus)
- Pluggable parsers for step definitions (bubenkoff, spinus)
2.5.3
-----
- Add after scenario hook, document both before and after scenario hooks (bubenkoff)
2014-12-18 06:18:36 +08:00
2.5.2
-----
- Fix code generation steps ordering (bubenkoff)
2014-11-20 00:24:47 +08:00
2.5.1
-----
- Fix error report serialization (olegpidsadnyi)
2014-11-10 17:14:58 +08:00
2.5.0
-----
- Fix multiline steps in the Background section (bubenkoff, arpe)
- Code cleanup (olegpidsadnyi)
2014-10-22 19:24:44 +08:00
2.4.5
-----
2014-10-22 19:19:43 +08:00
- Fix unicode issue with scenario name (bubenkoff, aohontsev)
2014-10-22 16:11:35 +08:00
2.4.3
-----
- Fix unicode regex argumented steps issue (bubenkoff, aohontsev)
2014-10-22 00:18:28 +08:00
- Fix steps timings in the json reporting (bubenkoff)
2014-10-21 18:55:33 +08:00
2.4.2
-----
2014-10-21 18:55:33 +08:00
- Recursion is fixed for the --generate-missing and the --feature parameters (bubenkoff)
2014-09-23 16:13:44 +08:00
2.4.1
-----
- Better reporting of a not found scenario (bubenkoff)
- Simple test code generation implemented (bubenkoff)
- Correct timing values for cucumber json reporting (bubenkoff)
2014-09-22 14:27:46 +08:00
- Validation/generation helpers (bubenkoff)
2014-09-15 16:06:37 +08:00
2.4.0
-----
2014-09-15 06:52:28 +08:00
- Background support added (bubenkoff)
2014-09-15 16:06:37 +08:00
- Fixed double collection of the conftest files if scenario decorator is used (ropez, bubenkoff)
2014-09-15 06:52:28 +08:00
2014-09-12 04:06:54 +08:00
2.3.3
-----
2014-09-11 07:24:14 +08:00
- Added timings to the cucumber json report (bubenkoff)
2014-09-03 16:58:05 +08:00
2.3.2
-----
2014-09-11 07:24:14 +08:00
2014-09-03 16:58:05 +08:00
- Fixed incorrect error message using e.argname instead of step.name (hvdklauw)
2014-07-31 05:31:29 +08:00
2.3.1
2014-07-27 19:42:56 +08:00
-----
- Implemented cucumber tags support (bubenkoff)
2014-05-11 23:21:53 +08:00
- Implemented cucumber json formatter (bubenkoff, albertjan)
2014-07-30 16:55:27 +08:00
- Added 'trace' keyword (bubenkoff)
2014-05-11 23:21:53 +08:00
2014-07-25 00:06:10 +08:00
2.1.2
-----
- Latest pytest compartibility fixes (bubenkoff)
2014-06-12 05:51:47 +08:00
2.1.1
-----
- Bugfixes (bubenkoff)
2014-03-29 07:58:38 +08:00
2.1.0
-----
- Implemented multiline steps (bubenkoff)
2014-03-27 09:13:42 +08:00
2.0.1
-----
- Allow more than one parameter per step (bubenkoff)
2014-03-27 18:52:39 +08:00
- Allow empty example values (bubenkoff)
2014-03-27 09:13:42 +08:00
2.0.0
-----
- Pure pytest parametrization for scenario outlines (bubenkoff)
- Argumented steps now support converters (transformations) (bubenkoff)
- scenario supports only decorator form (bubenkoff)
- Code generation refactoring and cleanup (bubenkoff)
2014-03-11 06:03:11 +08:00
1.0.0
-----
- Implemented scenario outlines (bubenkoff)
2014-02-19 20:39:14 +08:00
0.6.11
2014-09-15 16:19:07 +08:00
------
- Fixed step arguments conflict with the fixtures having the same name (olegpidsadnyi)
2014-01-29 19:09:46 +08:00
0.6.9
-----
- Implemented support of Gherkin "Feature:" (olegpidsadnyi)
2013-12-13 11:27:25 +08:00
0.6.8
2013-12-06 11:19:10 +08:00
-----
- Implemented several hooks to allow reporting/error handling (bubenkoff)
2013-12-11 11:20:44 +08:00
0.6.6
-----
- Fixes to unnecessary mentioning of pytest-bdd package files in py.test log with -v (bubenkoff)
2013-12-11 11:04:12 +08:00
0.6.5
-----
- Compartibility with recent pytest (bubenkoff)
2013-11-10 19:39:31 +08:00
0.6.4
-----
- More unicode fixes (amakhnach)
2013-11-07 20:10:04 +08:00
0.6.3
-----
2013-11-10 19:39:31 +08:00
- Added unicode support for feature files. Removed buggy module replacement for scenario. (amakhnach)
2013-11-07 20:10:04 +08:00
2013-10-31 22:27:22 +08:00
0.6.2
-----
- Removed unnecessary mention of pytest-bdd package files in py.test log with -v (bubenkoff)
0.6.1
-----
- Step arguments in whens when there are no given arguments used. (amakhnach, bubenkoff)
2013-09-19 06:59:00 +08:00
0.6.0
-----
- Added step arguments support. (curzona, olegpidsadnyi, bubenkoff)
2013-09-22 20:50:42 +08:00
- Added checking of the step type order. (markon, olegpidsadnyi)
2013-09-19 06:59:00 +08:00
2013-08-23 21:16:21 +08:00
0.5.2
2013-08-19 07:17:41 +08:00
-----
- Added extra info into output when FeatureError exception raises. (amakhnach)
0.5.0
-----
- Added parametrization to scenarios
- Coveralls.io integration
- Test coverage improvement/fixes
- Correct wrapping of step functions to preserve function docstring
2013-08-19 07:17:41 +08:00
0.4.7
-----
2013-07-12 02:41:50 +08:00
- Fixed Python 3.3 support
2013-08-19 07:17:41 +08:00
0.4.6
-----
2013-06-20 18:21:31 +08:00
- Fixed a bug when py.test --fixtures showed incorrect filenames for the steps.
2013-08-19 07:17:41 +08:00
0.4.5
-----
2013-06-20 15:33:41 +08:00
- Fixed a bug with the reuse of the fixture by given steps being evaluated multiple times.
2013-08-19 07:17:41 +08:00
0.4.3
-----
2013-06-16 21:52:20 +08:00
- Update the license file and PYPI related documentation.