Commit Graph

175 Commits

Author SHA1 Message Date
David Röthlisberger df7af76c6c Add changelog entry for bdd_features_base_dir change 2022-11-04 19:04:29 +00:00
Alessio Bogon b5b3d18e0f Add link to PR 2022-09-24 19:18:11 +02:00
Alessio Bogon c6a4bffb49 Make the package PEP 561 compatible...
... by adding the `py.typed` file.
2022-09-24 14:15:10 +02:00
Alessio Bogon e34d027260
Update CHANGES.rst 2022-08-28 12:48:33 +02:00
Alessio Bogon 2325f66c19
Update CHANGES.rst 2022-08-28 12:46:41 +02:00
Alessio Bogon a9bf37b37d Add changelog entries 2022-08-13 12:03:26 +02:00
Bruno Oliveira 689b6a9385 Use modern approach to specify hook options
The old way using marks is being deprecated in pytest 7.2:

https://github.com/pytest-dev/pytest/pull/9118
2022-07-31 12:28:31 -03:00
Alessio Bogon 712373ee40 update changelog 2022-07-27 21:10:29 +02:00
Alessio Bogon cc1180d158 Add reference to the PR 2022-07-12 18:58:57 +02:00
Alessio Bogon 18320bbefc `parsers.re` now does fullmatch.
This makes it work the same way other parsers work (they don't ignore non-matching characters at the end of the string)
2022-07-12 18:56:52 +02:00
Alessio Bogon 9f4ddb1c99 Fix `target_fixture` being overridden at every step decoration 2022-07-10 17:04:21 +02:00
Alessio Bogon a2a94adff1 Fix bug where normal steps would take precedence over other parsers. 2022-07-10 15:26:01 +02:00
Alessio Bogon 533b5cd2f0 Bump version, update changelog 2022-07-07 16:08:11 +02:00
Florian Bruhin 658c202e63
Update changelog for 6.0.0 release 2022-07-05 11:17:34 +02:00
Alessio Bogon 9e0108a322 Update changelog 2022-07-03 23:06:49 +02:00
Alessio Bogon 66750f169b
Merge branch 'master' into fix-typos 2022-03-05 16:49:25 +01:00
Alessio Bogon 01c52c9cf6
Merge branch 'master' into fix-typos 2022-03-03 13:57:10 +01:00
Alessio Bogon 3c32e06384 Add changelog notes 2022-03-03 13:03:25 +01:00
Alessio Bogon d088c69640
Merge branch 'master' into unused-params-validation 2022-02-24 13:12:21 +01:00
Alessio Bogon 625eff1f5a
Merge branch 'master' into fix-typos 2022-02-24 13:10:53 +01:00
Alessio Bogon 68078ba446 Merge remote-tracking branch 'origin/master' into step-def-yield
# Conflicts:
#	CHANGES.rst
#	tox.ini
2022-02-24 12:41:23 +01:00
Alessio Bogon d9540fd75c Simplify tox matrix, do not pin parse_type dependency.
We don't need to pin parse_type, we can just allow any version that the user has.
2022-02-22 16:58:26 +01:00
Alessio Bogon eedfe5899e Add changelog entry 2022-02-22 16:37:37 +01:00
Kian-Meng Ang 6ac08b8777 Fix typos 2022-02-14 20:55:04 +08:00
Oleg Pidsadnyi 162ab57379 Changelog updated 2022-02-13 11:56:12 +01:00
Konstantin Goloveshko b05dbe0aec Update python environment
- Drop python 3.6 because of EOL
- Drop pytest<5 (Actually there wasn't reason to support 4.x version because they are about 3.4/2.7 python support, which already dropped)
- Fix source distribution build
2022-02-01 22:34:05 +02:00
Oleg Pidsadnyi 7cd7b40df3 Step arguments are no longer fixtures 2022-01-15 20:36:38 +01:00
Oleg Pidsadnyi 6730b428ed Removing the vertical examples support 2022-01-15 19:22:10 +01:00
Oleg Pidsadnyi e0a1437908 Feature examples removal. Compatibility with official gherkin 2022-01-15 19:07:11 +01:00
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