Alessio Bogon
2dd8865361
Fix docs
2018-10-18 13:15:36 +02:00
Alessio Bogon
6b492d61d2
Update documentation
2018-10-18 13:15:36 +02:00
Alessio Bogon
05f06bfa30
Update contributors
2018-10-18 13:15:36 +02:00
Alessio Bogon
7b0685e42d
Bump version to 3.0.0, since we have incompatible changes
2018-10-18 13:15:36 +02:00
Milosz Sliwinski
7671290ad0
bdd_feature_base_dir renamed into bdd_features_base_dir
2018-10-18 10:59:28 +02:00
Milosz Sliwinski
ed45c5e9fc
Revert fix for getting the parser as it has been moved to separate pull request
2018-10-18 10:59:28 +02:00
Milosz Sliwinski
46644c390c
Add feature_base_dir and strict_gherkin params to scenario and scenarios
2018-10-18 10:59:28 +02:00
Milosz Sliwinski
92a7e59675
Fix getting the parser from the lazy step function on latest pytest
2018-10-18 10:59:28 +02:00
Milosz Sliwinski
6ce9c0c510
Do not call fixtures directly. bdd_feature_base_dir and bdd_strict_gherkin ini configs added. Pytest-bdd fixtures removed
2018-10-18 10:59:28 +02:00
Alessio Bogon
39f72977f9
Defer fixture wrapping of lazy_step_function
...
This will ensure that we attach parser and converters to the actual
function that pytest will discover when collecting fixtures.
2018-10-16 09:45:16 +02:00
Anthony Sottile
fb2840391f
Merge pull request #246 from asottile/mostly_factor_out_py
...
Mostly factor out `py` module
2018-07-07 23:14:36 -07:00
Anthony Sottile
685ae80f10
Mostly factor out `py` module
...
Still used for `py.io.TerminalWriter` so I added it to `setup.py`
2018-07-07 15:30:03 -07:00
Anthony Sottile
0ac2447e29
Merge pull request #245 from asottile/invalid_escape_sequences
...
Fix invalid escape sequences
2018-06-30 11:04:02 -07:00
Anthony Sottile
ce63d93152
Fix invalid escape sequences
2018-06-30 08:35:52 -07:00
Anatoly Bubenkov
da20c469dc
Merge pull request #240 from felixonmars/patch-1
...
Fix a typo in scripts.py
2018-06-13 17:16:07 +02:00
Florian Bruhin
ea814e244d
Merge pull request #241 from lancelote/master
...
Fix a typo in a feature definition
2018-06-13 14:23:02 +02:00
Pavel Karateev
b5da92682a
Fix typo in feature definition
...
The feature doesn't match the step definition
2018-06-13 14:53:23 +03:00
Felix Yan
48a2af4318
Fix a typo in scripts.py
2018-06-09 02:11:19 +08:00
Florian Bruhin
0527a9623f
Merge pull request #239 from felixonmars/patch-1
...
Fix some typos in README
2018-06-04 08:55:15 +02:00
Felix Yan
11df9bf712
Fix some typos in README
2018-06-04 03:06:41 +08:00
Oleg Pidsadnyi
5684b36532
Preparing release 2.21.0
2018-04-04 16:13:29 +02:00
Dmitry Kolyagin
d1eaf99270
Add --gherkin-terminal-reporter-expanded option ( #222 )
2018-04-04 15:59: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
Oleg Pidsadnyi
8c54f35518
bump version number
2017-11-06 10:26:10 +01:00
Oleg Pidsadnyi
5a5165a7e0
Merge pull request #227 from mjholtkamp/feature/json_cucumber_expand_option
...
cucumber.json expanded format
2017-11-06 10:24:43 +01:00
Michiel Holtkamp
2e6b9e680a
Updated README, CHANGES and AUTHORS
2017-11-03 12:38:03 +01:00
Michiel Holtkamp
2ab960a626
Fill in step names in cucumber report.
...
According to [1], when the outline scenarios are
reported in 'expand' mode, all the outlines will
be expanded to scenarios with their test results.
Also, the step name parameters are filled in.
This is a different mode than without 'expand'
mode[2], where the scenario outlines are reported
so the step names are not filled in and there are
no test results. The "examples" are reported in
this mode.
Since pytest-bdd does report the results of each
step of an outline scenario as separate scenarios,
it looks more like the 'expand' mode, so I've
added the filling in of the parameters in the
step names to make it more compliant.
[1] https://relishapp.com/cucumber/cucumber/docs/formatters/json-output-formatter#scenario-outline-expanded
[2] https://relishapp.com/cucumber/cucumber/docs/formatters/json-output-formatter#scenario-outline
2017-11-03 12:38:03 +01:00
Anatoly Bubenkov
11c6097836
prepare 2.18.2 release
2017-05-01 12:26:52 +02:00
Anatoly Bubenkov
badc11a064
Merge pull request #211 from skraynev/no-strict-check-for-background
...
Fix #210 do not raise wrong Error for no strict gherkin feature
2017-05-01 12:25:29 +02: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
Florian Bruhin
65bfca8027
Merge pull request #203 from regnarock/patch-1
...
Fix typo in gherkin terminal reporter error message
2016-12-06 12:08:52 +01:00
Thomas Wilgenbus
b2e99a291b
Fix typo in gherkin terminal reporter error message
...
Very small fix
2016-12-06 11:43:38 +01:00
Anatoly Bubenkov
f48e4558c0
prepare 2.18.1 release
2016-11-05 11:28:59 +01:00
Anatoly Bubenkov
32b8a82882
Merge pull request #200 from urbanairship/pass_along_kwargs_to_features_gathered_from_directory
...
Relay fixture results to recursive call of 'get_features'.
2016-11-05 11:26:49 +01:00
Adam Coddington
3b1539788d
Relay fixture results to recursive call of 'get_features'.
2016-10-20 16:38:38 -07:00
Oleg Pidsadnyi
a26ce26724
Merge pull request #196 from thedrow/ISSUE-139-gherkin-terminal-reporter
...
Merged version of the gherkin reporter
2016-09-21 10:22:52 +02:00
Omer Katz
3d8447a6c0
Merge branch 'master' into ISSUE-139-gherkin-terminal-reporter
2016-09-20 09:02:27 +03:00
Oleg Pidsadnyi
6cd65b6404
Merge pull request #195 from The-Compiler/at
...
Don't parse scenario lines containing @ as tag
2016-09-19 20:44:16 +02:00
Florian Bruhin
e0761dd881
Merge pull request #197 from pytest-dev/py-github
...
Update tox.ini for pylib bitbucket -> github move
2016-09-18 14:26:17 +02:00
Florian Bruhin
d66076420e
Update tox.ini for pylib bitbucket -> github move
2016-09-18 14:17:07 +02: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
Oleg Pidsadnyi
30076d478c
Merge pull request #193 from The-Compiler/pytest30
...
[WIP] Initial attempt at pytest 3.0 compatibility
2016-08-21 10:55:35 +02:00
Bruno Oliveira
7f16bc93ea
Last pytest 3.0 compatibility fixes
2016-08-19 16:47:56 +02:00
Florian Bruhin
27553d8222
Make fixture code pytest 3.0 compatible
2016-08-05 13:32:40 +02:00
Oleg Pidsadnyi
544c81f59e
Fixing latest pytest compatibility
2016-07-21 22:05:16 +02:00
Oleg Pidsadnyi
5361602929
Merge pull request #190 from The-Compiler/linters
...
Don't run tests in linters tox env
2016-07-21 21:21:43 +02:00
Florian Bruhin
eaadc52dd3
Don't run tests in linters tox env
...
pytest-pep8 adds some new tests, but without selecting only them (via -m
pep8), the tests would run in the linters env as well.
2016-06-30 09:03:16 +02:00
Oleg Pidsadnyi
40303f50ea
Merge pull request #189 from The-Compiler/fix-test
...
Don't use skip-mark in test_apply_tag_hook
2016-06-30 09:02:27 +02:00