Commit Graph

518 Commits

Author SHA1 Message Date
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
Florian Bruhin 7d8bb2ffa1 Use inspect.signature() if it's available.
Fixes #153.
2015-11-17 21:49:35 +01:00
Florian Bruhin 6e5c70121d Add myself to AUTHORS. 2015-11-17 21:33:44 +01:00
Florian Bruhin f75208d5f7 Use add_hookspecs instead of addhooks. See #154.
pluginmanager.addhooks was deprecated in pytest 2.8 and pluggy's add_hookspecs
should be used instead. Falling back to addhooks for older pytest versions.
2015-11-17 21:29:24 +01:00
Florian Bruhin 1d1d8063ec Use hookwrapper instead of __multicall__. See #154. 2015-11-17 21:25:33 +01:00
Anatoly Bubenkov fbaf239e83 Add examples data in the scenario report. closes #145 2015-08-31 16:39:02 +02:00
Anatoly Bubenkov 342e02dc99 Add examples data in the scenario report. closes #145 2015-08-31 16:38:52 +02:00
Anatoly Bubenkov be64d6cc42 test fixes 2015-08-31 10:35:05 +02:00
Anatoly Bubenkov 6ab5857636 bump version 2015-08-31 10:32:57 +02:00
Anatoly Bubenkov 7cda3caeef Properly parse feature description. closes #144 2015-08-31 10:32:23 +02:00
Anatoly Bubenkov 8bbc4580a0 Properly parse feature description. closes #144 2015-08-31 10:32:13 +02:00
Anatoly Bubenkov 73da0347b0 Avoid potentially random collection order for xdist compartibility. closes #138 2015-08-04 17:05:12 +02:00
Anatoly Bubenkov 4610ef5580 Avoid potentially random collection order for xdist compartibility. closes #138 2015-08-04 15:49:05 +02:00
Anatoly Bubenkov 8197f6704d Avoid potentially random collection order for xdist compartibility 2015-08-04 15:43:50 +02:00
Anatoly Bubenkov 393ac38f86 Merge branch 'master' of github.com:pytest-dev/pytest-bdd 2015-07-13 18:27:44 +02:00
Anatoly Bubenkov cc63412bf1 Pass additional arguments to parsers 2015-07-13 18:26:51 +02:00
Anatoly Bubenkov d18ba44f20 Add validation check which prevents having multiple features in a single feature file. closes #135 2015-07-07 22:49:49 +02:00
Anatoly Bubenkov 04b92603fa mention default parser correctly. closes #136 2015-07-07 21:35:25 +02:00