Commit Graph

683 Commits

Author SHA1 Message Date
Alessio Bogon 72a8764556 Bump version, update changelog 2019-07-08 11:55:49 +02:00
Blaise Kal d8ebeeed1c Add test for given names with unicode types 2019-07-07 14:41:57 +02:00
Blaise Kal 55069df7a7 Allow unicode type in given step names in Py 2
Allows the given step name to be unicode in Py2. 

Py 3 is not affected. It still does not allow non-ascii characters as they're not allowed in Py 2 `__name__`s.
2019-07-07 14:41:57 +02:00
Alessio Bogon 2a10da1bc9 Add missing line at the end of the file 2019-07-05 15:14:58 +02:00
Alessio Bogon fa9fb67d39 Fix wrong command line usage 2019-07-05 15:14:58 +02:00
Alessio Bogon eafd61abae Fix pytest missing markers definitions 2019-07-05 15:14:58 +02:00
Alessio Bogon e06156b5dc Fix pytest missing markers definitions 2019-07-05 15:14:58 +02:00
Alessio Bogon 1f095c3713 pep8 2019-07-05 15:14:58 +02:00
Alessio Bogon 378eeba9c7 Mark some tags to avoid warning in result 2019-07-05 15:14:58 +02:00
Alessio Bogon a18641490e Remove supposedly useless test?
That test is now breaking in pytest 4.6, and it is a weird one anyway
2019-07-05 15:14:58 +02:00
Alessio Bogon 545c6ca5b0 Explicitly state used markers 2019-07-05 15:14:58 +02:00
Alessio Bogon 76a75ea3e6 Switch from pytest-pep8 to pycodestyle.
Pytest-pep8 received the last update in 2014, and it is now not working with pytest >= 4.5
2019-07-05 15:14:58 +02:00
Alessio Bogon d299bd75ad Stop testing for old pytest and python versions 2019-07-05 15:14:58 +02:00
Milosz Sliwinski b3370c3c55 gherkin terminal reporter tests steps renamed to not being collected as test items by pytest 2019-07-04 15:56:58 +02:00
Milosz Sliwinski a8795dad78 Update outdated behat hyperlinks in documentation 2019-04-14 14:31:59 +02:00
Alessio Bogon 8c1aa9a72f Merge branch 'master' of github.com:pytest-dev/pytest-bdd 2019-02-19 16:51:06 +01:00
Alessio Bogon dfed37115d Reorganize imports 2019-02-19 16:50:40 +01:00
Alessio Bogon 2a1c45166e
Remove usage of re.compile in example code 2019-02-19 14:21:41 +01:00
Alessio Bogon 956081cded
Update minimum pytest required version in README 2019-02-19 14:15:52 +01:00
Alessio Bogon 239a2e92a6 Bump version 3.1.0 2019-02-19 14:01:37 +01:00
Alessio Bogon dc04fe7dcd Define the right pythons 2019-02-19 14:01:29 +01:00
Alessio Bogon 66b86feefd Add release notes 2019-02-19 13:59:09 +01:00
Alessio Bogon f5e90000b7 Fix missed pytest options 2019-02-19 13:59:09 +01:00
Alessio Bogon c298a3edf5 Do not accept regex as step definitions 2019-02-19 13:59:09 +01:00
Alessio Bogon 744e855e01 Pass all the required arguments to hooks 2019-02-19 13:59:09 +01:00
Alessio Bogon 51fa93e9e1 Implicitly decode step definitions to unicode with utf-8 2019-02-19 13:59:09 +01:00
Oleg Pidsadnyi 3a7a5c4eb2
Merge pull request #289 from pytest-dev/generated-steps-raise-notimplemented
Generated steps should raise NotImplementedError
2019-02-18 11:33:46 +01:00
Alessio Bogon 61bf486ac2
Merge branch 'master' into generated-steps-raise-notimplemented 2019-02-18 10:53:02 +01:00
Alessio Bogon 2b60fbc378 Remove pytest < 3.3.2 from the test suite 2019-02-18 10:26:14 +01:00
Alessio Bogon dbf2339e62 Remove compat function get_request_fixture_names 2019-02-18 10:26:14 +01:00
Alessio Bogon 7f4ba0315d Remove compat function 2019-02-18 10:26:14 +01:00
Alessio Bogon b411cfa463 (supposedly) drop compatibility with pytest < 3.3.2
The test suite still passes with all the pytests >= 3, so I wonder if I
actually broke the compatibility
2019-02-18 10:26:14 +01:00
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 eded49a2ae Generated step files should raise NotImplementedError 2019-02-17 18:08:38 +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