RedBeardCode
1b0dbd8c40
Move the freezing function from genscript.py to a new module freeze_support.py
2016-06-26 19:37:24 +02:00
RedBeardCode
0e2ebc96ff
Remove deprecated cmd options
...
Fixes #1657
2016-06-26 19:26:04 +02:00
holger krekel
68bed00d5b
Merge pull request #1667 from fengxx/feature/override_ini_option
...
Add --overwrite-ini ININAME=INIVALUE cli option
2016-06-25 18:10:10 +02:00
Ted Xiao
856e6cab75
add --override-ini option to overrides ini values
...
Signed-off-by: Ted Xiao <xiao.xj@gmail.com>
2016-06-25 23:45:32 +08:00
holger krekel
13a188fe37
Merge pull request #1647 from sallner/features
...
Add new options to report fixture setup and teardown
2016-06-25 16:38:37 +02:00
Ronny Pfannschmidt
2af3a7a9d7
Merge pull request #1519 from omarkohl/pytest_skip_decorator
...
Raise CollectError if pytest.skip() is called during collection
2016-06-25 15:20:34 +02:00
Florian Bruhin
35cd12e4de
Merge pull request #1660 from hackebrot/parametrize-with-fixtures
...
Proposal: Parametrize with fixtures
2016-06-25 15:05:27 +02:00
Raphael Pierzina
1b6bc4d606
Add feature proposal to changelog
2016-06-25 14:58:18 +02:00
Raphael Pierzina
eb98a8eefb
Change version in issues section to pytest 3.0 only
2016-06-25 14:52:57 +02:00
Raphael Pierzina
acfdd85dff
Move document to proposals subfolder
2016-06-25 14:42:19 +02:00
Danielle Jenkins
32ca5cdb09
Update changelog for new fixture hooks.
2016-06-25 12:33:31 +02:00
Danielle Jenkins
9877bf47e3
Improve commenting for setupplan unittest.
2016-06-25 12:21:31 +02:00
Danielle Jenkins
7a3daac85b
Add docs for setuponly and setupplan options.
2016-06-25 12:21:12 +02:00
Danielle Jenkins
da5c579d82
Move setupplan and setuponly options to their respective modules.
...
Also, changed their group from "general" to "debugconfig".
2016-06-25 12:20:56 +02:00
Danielle Jenkins
032ce8baf6
Switch setuponly and setupplan options to a hook-based implementation.
2016-06-25 12:19:46 +02:00
Raphael Pierzina
5860c609ae
Remove note on scoping
2016-06-25 11:09:46 +02:00
Raphael Pierzina
526c564576
Fix rst bullet point lists
2016-06-25 11:06:17 +02:00
Raphael Pierzina
693859210a
Add yielded values to function example
2016-06-25 11:00:54 +02:00
Raphael Pierzina
4f8b8c8d31
Add alternative approach that uses wrappers
2016-06-25 10:55:08 +02:00
Raphael Pierzina
c6a711c2fc
Add proposed solution using a module function
2016-06-25 10:50:14 +02:00
Raphael Pierzina
84f0dcecf8
Add issues section to proposal doc
2016-06-25 10:10:57 +02:00
Omar Kohl
b3615ac29d
Update CHANGELOG with #607 and add version 3.0.0.dev1
2016-06-24 20:56:21 +02:00
Omar Kohl
d81f23009b
Raise CollectError if pytest.skip() is called during collection
...
pytest.skip() must not be used at module level because it can easily be
misunderstood and used as a decorator instead of pytest.mark.skip, causing the
whole module to be skipped instead of just the test being decorated.
This is unexpected for users used to the @unittest.skip decorator and therefore
it is best to bail out with a clean error when it happens.
The pytest equivalent of @unittest.skip is @pytest.mark.skip .
Adapt existing tests that were actually relying on this behaviour and add a
test that explicitly test that collection fails.
fix #607
2016-06-24 20:56:21 +02:00
Raphael Pierzina
dc55551213
Start proposal for parametrize with fixtures
2016-06-24 12:08:57 +02:00
Vasily Kuznetsov
c6af737d4e
Fix fixture parameter display when ids is a function
2016-06-23 10:54:22 +02:00
Vasily Kuznetsov
1a5e530b98
Fix capturing with --setup-only/--setup-plan
2016-06-23 10:23:04 +02:00
Ronny Pfannschmidt
f2bb3df310
Merge pull request #1645 from userzimmermann/sprint/addoption-check
...
added check for already existing option names to OptionGroup.addoption()
2016-06-23 07:52:46 +02:00
Stefan Zimmermann
69bab4ab04
added check for already existing option names to OptionGroup.addoption()
2016-06-22 18:01:35 +02:00
Steffen Allner
ecc97aa3b9
Use correct links in changelog.
2016-06-22 17:52:13 +02:00
Steffen Allner
dd97a2e7c8
Merge from upstream
2016-06-22 17:51:48 +02:00
Steffen Allner
0dbf77e08e
Add to changelog and authors.
2016-06-22 17:37:58 +02:00
Vasily Kuznetsov
f7d50dfa91
Add a test for handling of dynamic requests for fixtures from other fixtures
2016-06-22 17:24:55 +02:00
Ronny Pfannschmidt
7d60fcc098
Merge pull request #1643 from RonnyPfannschmidt/merge-master
...
Merge master
2016-06-22 17:05:59 +02:00
Vasily Kuznetsov
c8c32fd9c0
Merge with upstream
2016-06-22 17:00:35 +02:00
Vasily Kuznetsov
61992b4e22
Implement --setup-plan option
2016-06-22 16:45:36 +02:00
Vasily Kuznetsov
f59d8f7720
Fix the tests ( #3 )
...
* Fix the tests
* Fix .format string failures on python 2.6
2016-06-22 16:23:58 +02:00
Ronny Pfannschmidt
18ef7de96b
merge from master again
2016-06-22 16:03:52 +02:00
Ronny Pfannschmidt
e96cd51a2a
Merge remote-tracking branch 'upstream/features' into merge-master
2016-06-22 16:03:00 +02:00
Ronny Pfannschmidt
f7585c7549
Merge pull request #1635 from Avira/master
...
Add test for change in pull request #1631
2016-06-22 15:49:09 +02:00
Ronny Pfannschmidt
9cb851716d
Merge pull request #1644 from KangarooCreativeTeam/patch-1
...
cache.rst: Fix wrong command used
2016-06-22 15:46:09 +02:00
Ronny Pfannschmidt
a2420ce051
Merge pull request #1640 from Avira/features
...
Add tests for entry points (#1629 )
2016-06-22 15:41:19 +02:00
HEAD KANGAROO
be1dabd6a9
cache.rst: Fix wrong command used
...
The "Inspecting Cache content" section was showing --cache-clear command,
but should actually be using --cache-show command.
Also; update AUTHORS
2016-06-22 14:04:02 +01:00
Vasily Kuznetsov
5e0d78f4f1
Fix .format string failures on python 2.6
2016-06-22 14:53:37 +02:00
Ronny Pfannschmidt
083f64100d
merge master into features
2016-06-22 14:39:33 +02:00
Oliver Bestwalter
db79ed5c4d
Add tests to make sure expected entry points exist ( #1629 )
2016-06-22 14:28:53 +02:00
Bruno Oliveira
fb79fa711b
Merge branch 'issue1553/diff-final-newline' of https://github.com/tomviner/pytest
2016-06-22 14:21:30 +02:00
Vasily Kuznetsov
1a75139f72
Fix the tests
2016-06-22 13:25:46 +02:00
Steffen Allner
ee311e1eae
Merge pull request #2 from kvas-it/features
...
Add printing of fixture dependencies
2016-06-22 13:04:23 +02:00
Vasily Kuznetsov
2c5c4f3f78
Add printing of fixture dependencies
2016-06-22 12:54:36 +02:00
Steffen Allner
2c6cfa42fa
Disable capturing for setuponly output
2016-06-22 12:14:35 +02:00