Commit Graph

925 Commits

Author SHA1 Message Date
Alessio Bogon 06b3f9997d try-catch only block that can raise 2022-07-10 15:31:55 +02:00
Alessio Bogon 345218dd67 Fix typo 2022-07-10 15:29:46 +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 158d29b9e5 Fix typo 2022-07-10 15:21:02 +02:00
Alessio Bogon cf104cb045 Put (almost) everything in the StepFunctionContext 2022-07-10 15:08:43 +02:00
Alessio Bogon 0aa30dde52 Rename function 2022-07-10 14:33:20 +02:00
Alessio Bogon 6a2fcfbcd0 Refactor _find_step_function to be readable, hopefully 2022-07-10 14:30:10 +02:00
Alessio Bogon 36bb1b9f32 Make sure step functions can be reused with converters 2022-07-10 14:20:30 +02:00
Alessio Bogon 55f70cf934 Use dict literals in README.rst 2022-07-10 13:40:15 +02:00
Alessio Bogon 15a34de8ae
Merge pull request #533 from pytest-dev/py3.11
Add python 3.11 to the test matrix
2022-07-09 09:44:36 +02:00
Alessio Bogon 3c74f7d899 Add python 3.11 to the test matrix 2022-07-09 09:39:33 +02:00
Alessio Bogon 550e123984
Merge pull request #532 from pytest-dev/poetry
Use Poetry
2022-07-09 09:36:06 +02:00
Alessio Bogon 54a85c9e94 Add types-setuptools to dev dependencies 2022-07-08 22:02:44 +02:00
Alessio Bogon e968e6e14b update mypy in tox.ini 2022-07-08 22:01:58 +02:00
Alessio Bogon 3f21b40933 Add pytest 7.1 2022-07-08 21:57:19 +02:00
Alessio Bogon 6f95c5cacd Remove version from __init__.py, as we track it in pyproject.toml 2022-07-08 21:55:14 +02:00
Alessio Bogon da74e26252 Remove linter step, we have pre-commit.ci 2022-07-08 21:38:48 +02:00
Alessio Bogon e10dcb8168 fix typing 2022-07-08 21:37:33 +02:00
Alessio Bogon ee87505dd6 Merge remote-tracking branch 'origin/poetry' into poetry 2022-07-08 21:23:39 +02:00
Alessio Bogon b4b09c7361 fix tox.ini 2022-07-08 21:23:25 +02:00
Alessio Bogon 9541d72d2d
Merge branch 'master' into poetry 2022-07-08 21:22:36 +02:00
Alessio Bogon 6af0350c5b Instructions for contributors 2022-07-08 15:57:11 +02:00
Alessio Bogon e16fca0868 Use poetry 2022-07-08 15:56:47 +02:00
Alessio Bogon 27dfc13ec9
Merge pull request #531 from pytest-dev/remove-clutter
Remove clutter from _step_decorator
2022-07-08 15:37:02 +02:00
Alessio Bogon 092361aae9 Merge remote-tracking branch 'origin/master' into remove-clutter 2022-07-08 15:07:37 +02:00
Alessio Bogon 9061c6debb use original variable name, remove TODO 2022-07-08 15:05:37 +02:00
Alessio Bogon 1c6a2b3c3e use dict literals 2022-07-08 14:59:00 +02:00
Alessio Bogon 10b5ac90e2 Remove unused argument 2022-07-08 14:57:34 +02:00
Alessio Bogon 52e8c78012 Remove unused imports 2022-07-08 14:54:06 +02:00
Alessio Bogon e57de7ecd4 No need to keep runtime types 2022-07-08 14:53:29 +02:00
Alessio Bogon 588c22a16c More specific types 2022-07-08 14:47:49 +02:00
Alessio Bogon 7f167007de Prefix private attributes set by pytest_bdd, only attach them to the function that need them 2022-07-07 19:03:24 +02:00
Alessio Bogon 81c1bef7aa Partially revert changes, just attach 1 parser to the lazy_step_func, and all the parsers to the actual function 2022-07-07 18:57:41 +02:00
Alessio Bogon 6e1566bb68 Removing clutter from the step_func 2022-07-07 16:30:25 +02:00
Alessio Bogon 7393b46137
Merge pull request #530 from pytest-dev/fix-parsed-step-aliases
Handle multiple parsers connected to a step function
2022-07-07 16:16:50 +02:00
Alessio Bogon 533b5cd2f0 Bump version, update changelog 2022-07-07 16:08:11 +02:00
Alessio Bogon 15e1a8aa20 Handle multiple parsers connected to a step function 2022-07-06 18:09:29 +02:00
Alessio Bogon 81a9264119
Merge pull request #529 from pytest-dev/changelog-6.0.0
Update changelog for 6.0.0 release
2022-07-05 14:09:59 +02:00
Florian Bruhin 658c202e63
Update changelog for 6.0.0 release 2022-07-05 11:17:34 +02:00
Alessio Bogon 55e43daa41
Merge pull request #518 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-07-04 19:54:00 +02:00
Alessio Bogon 2411ac2c10
Merge branch 'master' into pre-commit-ci-update-config 2022-07-04 19:50:01 +02:00
Alessio Bogon 2ae7d3394a
Merge pull request #526 from pytest-dev/update-readme
Fix readme.rst
2022-07-04 19:40:37 +02:00
Alessio Bogon 0cd4d14b88 Fix filename 2022-07-04 19:37:59 +02:00
Alessio Bogon a9bbf89822 Fix copy 2022-07-04 19:37:13 +02:00
Alessio Bogon c50e6a9fcf Fix copy 2022-07-04 19:35:15 +02:00
Alessio Bogon 311da651f2 Merge remote-tracking branch 'origin/master' into update-readme
# Conflicts:
#	README.rst
2022-07-04 19:30:10 +02:00
Alessio Bogon 1569ad01e5
Merge pull request #523 from TBBle/patch-1
Update multiline example for step arg defixturing
2022-07-04 19:29:41 +02:00
Alessio Bogon 1e7a715bdc Fix links and outdated documentation in README.rst 2022-07-04 19:28:32 +02:00
Alessio Bogon 7e218c36ef
Merge pull request #524 from pytest-dev/scenario-template-args
Parse angular brackets in steps only for "Scenario Outline"s
2022-07-04 16:16:42 +02:00
Alessio Bogon 384c02330d Fix test 2022-07-04 14:49:42 +02:00