Oleg Pidsadnyi
d52dea9215
Preparing the scenario for multiple example tables
2022-01-12 15:54:02 +01:00
Kostiantyn Goloveshko
f4ed62dcb4
Refuse combining of scenario outline and pytest parametrization
...
* Remove obsolete test
Discussed in #445 , #448
2022-01-04 10:05:15 +01:00
Kostiantyn Goloveshko
62842c3563
Refuse combining of scenario outline and pytest parametrization
...
* Update documentation
Discussed in #445 , #448
2022-01-04 10:05:15 +01:00
Oleg Höfling
5cb652e2d4
Merge pull request #468 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-12-27 23:03:55 +01:00
pre-commit-ci[bot]
70ff5e4da6
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0 )
2021-12-27 21:12:11 +00:00
Oleg Höfling
2026dec01e
Merge pull request #461 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-12-12 13:03:04 +01:00
pre-commit-ci[bot]
85733ce41f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-12-06 21:12:42 +00:00
pre-commit-ci[bot]
c1314d363f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.10b0 → 21.12b0](https://github.com/psf/black/compare/21.10b0...21.12b0 )
- [github.com/pycqa/isort: 5.10.0 → 5.10.1](https://github.com/pycqa/isort/compare/5.10.0...5.10.1 )
- [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1 )
2021-12-06 21:11:00 +00:00
Alessio Bogon
048da9e87a
Merge pull request #458 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-11-14 18:17:30 +01:00
pre-commit-ci[bot]
c06175a9c0
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 21.9b0 → 21.10b0](https://github.com/psf/black/compare/21.9b0...21.10b0 )
- [github.com/pycqa/isort: 5.9.3 → 5.10.0](https://github.com/pycqa/isort/compare/5.9.3...5.10.0 )
2021-11-08 20:17:28 +00:00
Oleg Pidsadnyi
6e421679b4
Release 5.0.0
2021-10-25 18:09:25 +02:00
Alessio Bogon
bd3f8944d4
Merge pull request #451 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-10-20 15:33:22 +02:00
pre-commit-ci[bot]
61cd7c8e86
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.28.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v2.28.0...v2.29.0 )
2021-10-04 19:49:45 +00:00
Alessio Bogon
583910d88d
Merge pull request #444 from timgates42/bugfix_typos
...
docs: Fix a few typos
2021-10-01 20:01:23 +02:00
Alessio Bogon
b94a8f1677
Merge branch 'master' into bugfix_typos
2021-10-01 19:33:51 +02:00
Alessio Bogon
1b53646145
Merge pull request #446 from pytest-dev/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-10-01 19:27:57 +02:00
pre-commit-ci[bot]
bc7c209476
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-09-27 19:47:32 +00:00
pre-commit-ci[bot]
0f8bd3bab5
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0 )
2021-09-27 19:44:28 +00: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
Tim Gates
4d1c88a83a
docs: Fix a few typos
...
There are small typos in:
- README.rst
- pytest_bdd/cucumber_json.py
- pytest_bdd/reporting.py
- tests/feature/test_background.py
- tests/feature/test_feature_base_dir.py
- tests/scripts/test_main.py
Fixes:
- Should read `execution` rather than `excecution`.
- Should read `reporting` rather than `reportin`.
- Should read `precedence` rather than `precendence`.
- Should read `possibilities` rather than `possibilies`.
- Should read `outlines` rather than `oultines`.
- Should read `other` rather than `othe`.
- Should read `command` rather than `commmand`.
- Should read `background` rather than `backound`.
- Should read `alphanumeric` rather than `alphanumberic`.
2021-09-08 21:28:52 +10:00
Oleg Pidsadnyi
c6b7134e59
Revert "Allows use <params> in parsers defined steps"
...
This reverts commit 7850f218b7
.
2021-08-18 09:23:31 +02:00
Oleg Pidsadnyi
628f2e1f44
Revert "More tests for <params> in parsers defined steps"
...
This reverts commit 0590b7bf63
.
2021-08-18 09:23:31 +02:00
Kostiantyn Goloveshko
0590b7bf63
More tests for <params> in parsers defined steps
2021-08-17 20:59:14 +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
Thomas Grainger
c7faa9fa41
Merge pull request #436 from pytest-dev/graingert-patch-1
...
use py3.10 beta 4
2021-07-31 13:25:36 +01:00
Thomas Grainger
baff41f39e
use py3.10 beta 4
2021-07-29 18:13:13 +01:00
Alessio Bogon
3dce929a77
Version 4.1.0 (also fix the way we release)
2021-07-03 10:58:04 +02:00
Alessio Bogon
98f67019de
Merge pull request #431 from pytest-dev/then-when-target-fixture
...
Support `target_fixture` in `when` and `then` steps.
2021-07-03 10:30:38 +02:00
Alessio Bogon
f172bd6fe2
Merge branch 'master' into then-when-target-fixture
2021-07-03 10:16:59 +02:00
Alessio Bogon
775b6dc630
Update pre-commit hooks' version and apply them to all the files.
2021-07-03 10:16:33 +02:00
Alessio Bogon
2716593c47
Fix example
2021-07-03 10:05:27 +02:00
Alessio Bogon
82c930f714
Add changelog entry
2021-07-03 10:02:33 +02:00
Alessio Bogon
c3263c6abf
Add documentation about `when`, `then` steps supporting target_fixture
2021-07-03 10:01:04 +02:00
Alessio Bogon
ad593d2caf
Let "when" and "then" steps define a target fixture.
...
See discussion at https://github.com/pytest-dev/pytest-bdd/issues/402#issuecomment-869615840
2021-07-03 09:45:21 +02:00
Alessio Bogon
0f02d56fa6
Merge pull request #420 from pytest-dev/simplify-code
...
Simplify code
2021-04-29 13:51:53 +02:00
Alessio Bogon
0930c8a043
remove redundant variable
2021-04-28 15:37:55 +02:00
Alessio Bogon
86c471a24f
Remove ancient pytest compatibility
2021-04-28 12:39:59 +02:00
Alessio Bogon
635dd3f679
Remove compatibility code for ancient versions of pytest
2021-04-28 12:33:22 +02:00
Alessio Bogon
c197799e02
Simplify code
2021-04-28 12:06:27 +02:00
Alessio Bogon
87d8e50592
Add changelog entry
2021-04-28 12:03:35 +02:00
Alessio Bogon
bb6414ed83
Merge pull request #415 from AntoineDao/generate-missing-parsers
...
Fix generate-missing for steps with parsers
2021-04-28 12:01:43 +02:00
Alessio Bogon
9a9201a42d
Extract the check of the behaviour of step parsers in a new new test item
2021-04-28 11:32:53 +02:00
Alessio Bogon
757b055a6c
Make code more straight forward and avoid using pytest internals
2021-04-28 11:08:46 +02:00
Alessio Bogon
4859450686
Black code
2021-04-27 10:43:14 +02:00
Alessio Bogon
b0ae6ac329
Merge branch 'master' into generate-missing-parsers
2021-04-27 10:31:29 +02:00
Alessio Bogon
e76c0cd68d
Trim whitespaces (pre-commit run --all-files)
2021-04-27 10:26:07 +02:00
Alessio Bogon
cbb648316e
Update pre-commit-config
2021-04-27 10:25:04 +02:00
Alessio Bogon
57b71c5b9f
Merge branch 'master' into generate-missing-parsers
2021-04-27 09:47:29 +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
Alessio Bogon
26adcc468a
Switch to GitHub actions ( #417 )
...
* Add github workflow for testing
* Add .editorconfig
* setup.py -> setup.cfg
* Remove .travis.yml
* Test on the python python 3.10 (alpha)
2021-04-16 09:27:31 +02:00