Commit Graph

550 Commits

Author SHA1 Message Date
Alessio Bogon ee05a101e9 drop compatibility with pytest < 3.0.0 2019-02-18 10:26:14 +01:00
Alessio Bogon 873cd82f7a Fix example code in the documentation
Fixes #236
2019-02-17 18:16:52 +01:00
Alessio Bogon 3fedb8f16a Upgrade travis config 2019-02-17 15:15:12 +01:00
Alessio Bogon a7222ccaec Merge branch 'master' into update-ci-pytest-versions 2019-02-17 14:45:24 +01:00
Alessio Bogon 6cb8291be6 Bump version 3.0.2 2019-02-17 11:44:08 +01:00
Alessio Bogon fa0514ecb1 add pytest 4.1, 4.2 to tox builds 2019-02-17 11:35:06 +01:00
Florian Bruhin d72c4451ca
Merge pull request #268 from lancelote/patch-1
Remove odd bullet point
2019-02-16 19:35:16 +01:00
Alessio Bogon dbd8ab98f6
Merge branch 'master' into patch-1 2019-02-16 19:14:40 +01:00
Alessio Bogon 8e1756ffe6
Merge pull request #288 from sliwinski-milosz/add_config_stack
Add configuration stack and fix pytest warnings
2019-02-16 19:12:20 +01:00
Milosz Sliwinski 67c54dc185 UserWarning fixed in gherkin terminal reporter 2019-02-11 09:52:33 +01:00
Milosz Sliwinski 04353d29f3 Fixed test which was failing because starting from pytest 4.2.0, SKIPPED is used instead of SKIP in report for skipped tests 2019-02-11 09:52:26 +01:00
Milosz Sliwinski 216beadbcc Fixes #276: Added config stack to keep tests separation. Removed usage of deprecated pytest.config global variable 2019-02-11 09:51:40 +01:00
Florian Bruhin 6db3496ad2
Merge pull request #287 from sliwinski-milosz/fix_tags_tests
In tests use -m instead of -k for running tests by marker expressions
2019-01-13 11:52:16 +01:00
Milosz Sliwinski cb8114bbbe
Merge branch 'master' into fix_tags_tests 2019-01-13 11:07:28 +01:00
Florian Bruhin ad844ffb11
Merge pull request #286 from bertold/patch-1
Some wording changes to the introductory section
2019-01-13 10:45:19 +01:00
Milosz Sliwinski 07efb553d4 In tests use -m instead of -k for running tests by marker expressions 2019-01-10 10:46:38 +01:00
Andrea Cimatoribus 3ddd039666
Update README.rst
Co-Authored-By: bertold <bertold@users.noreply.github.com>
2019-01-07 09:03:36 -06:00
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