Oleg Pidsadnyi
f75a57b22b
Revert "Allows use <params> in parsers defined steps"
...
This reverts commit 7850f218b7
.
2021-08-18 09:20:58 +02:00
Konstantin Goloveshko
7850f218b7
Allows use <params> in parsers defined steps
...
So parsers could parse values defined in Examples
2021-08-17 20:59:14 +02:00
Alessio Bogon
cdb1bdada9
Add `pyupgrade` tool to pre-commit hooks ( #416 )
...
* `pyupgrade --py36-plus tests/**/*.py pytest_bdd/**/*.py setup.py`
* add pyupgrade to pre-commit config
2021-04-16 09:35:49 +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
02e667f239
Move Feature, Scenario, Step classes into the parser module ( #388 )
...
* Move the parsing logic to its own module
* Remove Feature.get_feature classmethod, in favour of the get_feature function on the feature module
2020-09-15 11:18:57 +02:00