Commit Graph

685 Commits

Author SHA1 Message Date
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
Florian Bruhin 0e8debd30b Don't use skip-mark in test_apply_tag_hook
@pytest.mark.skip was only introduced in pytest 2.9. Use xfail for
testing instead which will work with older pytest versions as well.
2016-06-30 08:59:28 +02:00
Oleg Pidsadnyi e76b066e6d Merge pull request #188 from The-Compiler/tags_with_spaces
Allow spaces in tags
2016-06-30 08:54:50 +02:00
Florian Bruhin 8e89d04f19 Increment version to 2.17.0 2016-06-29 19:25:12 +02:00
Florian Bruhin 9b78948efa Allow spaces in tags 2016-06-29 19:21:55 +02:00
Oleg Pidsadnyi 30947a458b Fixing flaky test order 2016-06-22 10:25:45 +02:00
Oleg Pidsadnyi 3fbed30c9b Fixing a test 2016-06-22 09:53:33 +02:00
Oleg Pidsadnyi a3cd429a10 Merge pull request #186 from The-Compiler/taghook
Add pytest_bdd_apply_tag hook.
Merging and fixing failing tests
2016-06-22 09:29:12 +02:00
Florian Bruhin c53f7a7519 Add pytest_bdd_apply_tag hook 2016-06-21 18:27:02 +02:00
Florian Bruhin 6bed671dcf Merge pull request #185 from pytest-dev/fix156
Better error explanation for the steps defined outside of scenarios
2016-06-21 17:02:24 +02:00
Oleg Pidsadnyi cc87b5b0dd Better error explanation for the steps defined outside of scenarios 2016-06-21 16:08:31 +02:00
Oleg Pidsadnyi de0f66754d Merge pull request #183 from The-Compiler/fixturedef
Fix FixtureDef signature for newer pytest versions
2016-06-21 09:16:22 +02:00
Florian Bruhin 28413e5793 Fix FixtureDef signature for newer pytest versions
In https://github.com/pytest-dev/pytest/pull/1586 the "yieldctx"
argument to FixtureDef was removed.

This uses utils.get_args to check if it's needed or not so pytest-bdd
works on pytest versions before and after that PR.
2016-06-17 10:56:57 +02:00
Florian Bruhin d57bdb2995 tox: Switch pytest-latest env from hg to git
pytest switched from Bitbucket to GitHub some while ago. This also uses the
`features` branch as that's the one with the newest breaking changes.
2016-06-17 10:50:12 +02:00
Florian Bruhin 2f1a185971 Merge pull request #181 from gilmrjc/patch-1
Fix typos in Feature examples section
2016-06-16 06:58:18 +02:00
gilmrjc 6d80f0c890 Fix typos in Feature examples section 2016-06-15 20:29:27 -05:00
Oleg Pidsadnyi 12211c91a0 Merge pull request #176 from pytest-dev/fix-report
Cleaned up hooks, fixed report serialization to use builtin types.
2016-03-19 10:10:41 +01:00
Oleg Pidsadnyi be79c1d534 Cleaned up hooks of the plugin, fixed report serialization to use builtin types. 2016-03-19 00:54:03 +01:00
Oleg Pidsadnyi 4f27e2d1e7 Merge pull request #172 from The-Compiler/issue-160
Allow tags after background section - fixes #160.
2016-01-26 11:24:37 +01:00
Tomasz Czyż c68e787e81 update readme/changes about gherkin-terminal-reporter 2016-01-25 23:45:34 +00:00
Oleg Pidsadnyi a7c38fe635 Fixing the test 2016-01-25 17:02:05 +01:00
Florian Bruhin 1eff034a6d Merge pull request #170 from jtpereyda/readme-mark-parametrize-fix
Issue #169 fix : @scenario instead of @mark.scenario; added accompanying gherkin file, too.
2016-01-24 19:58:58 +01:00
Florian Bruhin b5738ad1e4 Allow tags after background section - fixes #160. 2016-01-24 19:52:05 +01:00
Oleg Pidsadnyi 94cba2a91c Trying to fix the tests 2016-01-24 01:11:03 +01:00
Oleg Pidsadnyi 1049452a2a Cleaned up hooks 2016-01-24 00:44:29 +01:00
Joshua Pereyda 671055a501 README fix: @scenario instead of @mark.scenario; added accompanying gherkin file, too. 2016-01-13 19:38:26 -08:00
Tomasz Czyż 620a41ec40 ISSUE-139 add gherkin terminal reporter 2015-12-26 23:32:49 +00:00
Florian Bruhin 2e56eed167 Don't comment py27-xdist part in tox.ini.
It's enough to disable the environment by default, the config can stay there
without doing any harm.
2015-12-20 20:00:30 +01:00
Oleg Pidsadnyi c5d30f1f48 Merge pull request #168 from The-Compiler/2.16.0-release
2.16.0 release
2015-12-20 19:08:45 +01:00
Oleg Pidsadnyi 3fbf9e1404 Merge pull request #167 from The-Compiler/xdist-tests
Disable xdist tests for now.
2015-12-20 19:06:44 +01:00
Florian Bruhin 9bf74e893c Prepare 2.16.0 release. 2015-12-20 18:28:48 +01:00
Florian Bruhin 1abe75ccf3 Disable xdist tests for now.
See #162.
Those can probably be re-enabled when pytest 2.9 is released, but for now let's
disable them to have useful Travis feedback.
2015-12-20 18:25:43 +01:00
Oleg Pidsadnyi 4aa2267742 Merge pull request #163 from The-Compiler/pytest28
Avoid deprecation warnings on pytest 2.8
2015-12-16 15:24:46 +01:00
Oleg Pidsadnyi a8a7f17006 Merge pull request #164 from The-Compiler/argspec
Use inspect.signature() if it's available.
2015-12-16 13:39:47 +01:00