Commit Graph

683 Commits

Author SHA1 Message Date
Andrea Cimatoribus 044a73754a
Update README.rst
Co-Authored-By: bertold <bertold@users.noreply.github.com>
2019-01-07 09:03:17 -06:00
Andrea Cimatoribus 19a3e60f73
Update README.rst
Co-Authored-By: bertold <bertold@users.noreply.github.com>
2019-01-07 09:03:00 -06:00
Andrea Cimatoribus 9abc1e2d4d
Update README.rst
Co-Authored-By: bertold <bertold@users.noreply.github.com>
2019-01-07 09:02:47 -06:00
Bertold Kolics f5aebaade9
Some wording changes to the introductory section 2019-01-04 12:26:22 -06:00
Milosz Sliwinski fb44fc3a98 Fixes #273: Fix for unicode steps in gherkin reporter (#274)
* Fixes #273: Fix for unicode steps in gherkin reporter

* Test unicode step names in gherkin expanded mode

* Unnecessary encoding declaration in gherkin reporter test removed

* Fix unicode steps by using unicode_literals in gherkin_terminal_reporter.py
2018-12-16 12:08:44 +01:00
Pavel Karateev 617e85a05c
Remove odd bullet point 2018-11-22 19:54:23 +03:00
Alessio Bogon 516533cf03
Add pytests 3.10 and 4 to tox (#267)
* Update changelog

* Add pytests to tox
2018-11-22 10:32:09 +01:00
Milosz Sliwinski 5678a5c84e Do not use deprecated MarkInfo objects on pytest>=3.6 (#262)
* Do not use deprecated MarkInfo objects on pytest>=3.6

* Provide way to get all parametrize args, not only the ones from the closest marker

* Fix for remaining tests that were using depracated MarkInfo objects
2018-11-14 10:24:04 +01:00
Alessio Bogon f1a3e45e51
Test all supported pytest versions (plus more python interpreters) (#265)
Test all supported pytest versions (plus more python interpreters) and pytest-xdist
2018-11-02 12:11:47 +01:00
Milosz Sliwinski f7a30fc843 Update lowest required pytest version (#260)
* Update lowest required pytest version

* tox: Run tests for minimal version of pytest

* Bump version to 3.0.1. Update changelog
2018-11-01 22:05:45 +01:00
Milosz Sliwinski 9dd326ad5d Typo fixed in docs: strict_gherking->strict_gherkin 2018-10-29 16:22:56 +01:00
Alessio Bogon aecb9e956b rephrase changelog 2018-10-18 13:15:36 +02:00
Alessio Bogon e9d1f11af3 Remove reason from documentation 2018-10-18 13:15:36 +02:00
Alessio Bogon 4826aa06d9 Rephrase changelog 2018-10-18 13:15:36 +02:00
Alessio Bogon a62f4cbc5a Update changelog 2018-10-18 13:15:36 +02:00
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