Commit Graph

146 Commits

Author SHA1 Message Date
Oleg Pidsadnyi 6e421679b4 Release 5.0.0 2021-10-25 18:09:25 +02:00
Alessio Bogon 379cb4b47c
Rewrite scenario/feature examples logic (#445)
* rewrite examples subsitution using templating

* Remove “example_converters”

* Remove "expanded" option. It's now the default

* Add utility functions to be able to inspect tests run by the pytester.

* use better timer

* Fix typos

* Fix and simplify tests

* Update to latest python 3.10 version

* Add isort configuration and pre-commit hook

* Fix imports

* Fix types

* Update changelog

* Update README (mainly fix typos, remove outdated options)

* Fix examples in README

* Remove python2 junk

Co-authored-by: Oleg Pidsadnyi <oleg.pidsadnyi@gmail.com>
2021-09-23 21:07:15 +02:00
Alessio Bogon 3dce929a77 Version 4.1.0 (also fix the way we release) 2021-07-03 10:58:04 +02:00
Alessio Bogon 82c930f714 Add changelog entry 2021-07-03 10:02:33 +02:00
Alessio Bogon 87d8e50592 Add changelog entry 2021-04-28 12:03:35 +02:00
Alessio Bogon 123cd22701 Add entry to the changelog 2021-04-15 10:50:20 +02:00
Konstantin Goloveshko e1dc0cad9a Update python and pytest
- Drop support of python 2.7, 3.5; Add explicit support for python >=3.6
- Remove six dependency
- Simplify getting step parser strategy; If step could be stringified it could be used
- Respect pytest --strict option in tests
2021-03-02 19:08:00 +02:00
Alessio Bogon 7cb344ef64
Fix bug when using comments in the "Examples:" section (#398)
* Fix bug when using comments in the "Examples:" section
2020-12-07 13:38:07 +01:00
Alessio Bogon cba9a8ba90 Bump version 4.0.1 2020-09-08 12:03:15 +02:00
Alessio Bogon a8c1ff4ff3
Fix performance regression from version 4.0.0 (#386)
* Fix performance issue when collecting tests.

* Add changelog entry
2020-09-08 11:59:01 +02:00
Alessio Bogon 99f8a5342a Version 4
Do not include CHANGES.rst in the PyPI description, as we use custom sphinx extensions.
2020-09-07 11:18:39 +02:00
Alessio Bogon 853c615748
Support for pytest 6 "--import-mode=importlib" (#384)
* Fix compatibility with pytest 6 "--import-mode=importlib"

* Rewrite `scenario` and `scenarios` tests so that we can easily parametrize with the different pytest --import-mode.

* Update changelog
2020-09-07 09:43:29 +02:00
Oleg Pidsadnyi 8008c0f4bc
Given step is no longer a fixture (#376)
* Removing strict gherkin.
* Update README.rst
* Update CHANGELOG
2020-07-01 11:57:00 +02:00
Oleg Pidsadnyi 76ed2ece2a
Cleanuptests2 (#370)
* Cleaning up tests

* Changelog entry
2020-06-18 08:36:12 +02:00
Alessio Bogon be94d2e55a Fix typo 2020-06-04 17:06:05 +02:00
Oleg Pidsadnyi 34bc88572b Preparing the release 3.3.0 2020-04-22 22:00:25 +02:00
Alessio Bogon f3b92bd2d5
Update CHANGES.rst 2019-11-23 15:16:31 +01:00
Alessio Bogon 100e907600 Update changelog 2019-10-20 18:55:36 +02:00
Hugo van Kemenade 9dc09bcd06 Fix for Python 4 and drop support for pytest < 4.3 (#332)
* Fix for Python 4

* Drop support for pytest < 4.3

* Update changelog and authors
2019-10-11 10:53:04 +02:00
Alessio Bogon d26411fe2e
Drop compatibility with pytest < 3.6 (#322)
* Remove support code for pytest < 3.6

* Update setup.py tags

* Require pytest>=3.6 from setup.py
2019-10-11 09:34:48 +02:00
Alessio Bogon 9a8d608f3e Add changelog note 2019-08-23 21:53:42 +02:00
Alessio Bogon 386ed90cec
Fix item collection breaking when non Function items are present (#318)
* Fix item collection breaking when non Function items are present

* Bump version 3.2.1
2019-08-21 13:21:08 +02:00
Alessio Bogon 398c50f70c Bump version 3.2.0 2019-08-20 11:07:11 +02:00
Alessio Bogon 467e73d433
Update CHANGES.rst 2019-08-19 13:29:27 +02:00
Alessio Bogon 72a8764556 Bump version, update changelog 2019-07-08 11:55:49 +02:00
Alessio Bogon 239a2e92a6 Bump version 3.1.0 2019-02-19 14:01:37 +01:00
Alessio Bogon 66b86feefd Add release notes 2019-02-19 13:59:09 +01:00
Alessio Bogon 61bf486ac2
Merge branch 'master' into generated-steps-raise-notimplemented 2019-02-18 10:53:02 +01:00
Alessio Bogon 2b60fbc378 Remove pytest < 3.3.2 from the test suite 2019-02-18 10:26:14 +01:00
Alessio Bogon b411cfa463 (supposedly) drop compatibility with pytest < 3.3.2
The test suite still passes with all the pytests >= 3, so I wonder if I
actually broke the compatibility
2019-02-18 10:26:14 +01:00
Alessio Bogon ee05a101e9 drop compatibility with pytest < 3.0.0 2019-02-18 10:26:14 +01:00
Alessio Bogon eded49a2ae Generated step files should raise NotImplementedError 2019-02-17 18:08:38 +01:00
Alessio Bogon 6cb8291be6 Bump version 3.0.2 2019-02-17 11:44:08 +01:00
Alessio Bogon 516533cf03
Add pytests 3.10 and 4 to tox (#267)
* Update changelog

* Add pytests to tox
2018-11-22 10:32:09 +01:00
Milosz Sliwinski f7a30fc843 Update lowest required pytest version (#260)
* Update lowest required pytest version

* tox: Run tests for minimal version of pytest

* Bump version to 3.0.1. Update changelog
2018-11-01 22:05:45 +01:00
Alessio Bogon aecb9e956b rephrase changelog 2018-10-18 13:15:36 +02:00
Alessio Bogon 4826aa06d9 Rephrase changelog 2018-10-18 13:15:36 +02:00
Alessio Bogon a62f4cbc5a Update changelog 2018-10-18 13:15:36 +02:00
Oleg Pidsadnyi 5684b36532 Preparing release 2.21.0 2018-04-04 16:13:29 +02:00
Oleg Pidsadnyi 7c6ba36ffc
Fixes #201 and pytest compatibility. (#232)
* Fixes #201 and pytest compatibility.

* Review comments
2018-01-23 20:43:43 +01:00
Michiel Holtkamp 2e6b9e680a Updated README, CHANGES and AUTHORS 2017-11-03 12:38:03 +01:00
Sergey Kraynev 5d40f2c28e Fix #210 do not raise wrong Error for no strict gherkin feature
The issue, that if user disable strict gherkin check, it will lead to
situation, when wrong Error be raised. For the current situation it was
a message, that Step is defined outside of Background section.

Current patch makes check for orphan steps more tolerant for features
without strict gherkin syntax.

Also README was updated to show explicitly, that using "When, Then" is
prohibited in "Background" section.
2017-04-27 09:37:22 +03:00
Anatoly Bubenkov f48e4558c0 prepare 2.18.1 release 2016-11-05 11:28:59 +01:00
Omer Katz 3d8447a6c0 Merge branch 'master' into ISSUE-139-gherkin-terminal-reporter 2016-09-20 09:02:27 +03:00
Omer Katz 2e2b7a5c1b Merge branch 'ISSUE-139-gherkin-terminal-reporter' of git://github.com/spinus/pytest-bdd into ISSUE-139-gherkin-terminal-reporter 2016-09-18 11:19:46 +03:00
Florian Bruhin 14cc037c58 Don't parse scenario lines containing @ as tag 2016-09-15 17:39:28 +02:00
Florian Bruhin 2b4fc455c7 Increment version to 2.17.1 2016-08-21 16:05:31 +02:00
Florian Bruhin 8e89d04f19 Increment version to 2.17.0 2016-06-29 19:25:12 +02:00
Florian Bruhin 9b78948efa Allow spaces in tags 2016-06-29 19:21:55 +02:00
Florian Bruhin c53f7a7519 Add pytest_bdd_apply_tag hook 2016-06-21 18:27:02 +02:00