Commit Graph

475 Commits

Author SHA1 Message Date
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
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
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
Joshua Pereyda 671055a501 README fix: @scenario instead of @mark.scenario; added accompanying gherkin file, too. 2016-01-13 19:38:26 -08: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