Tobias Bieniek
041a12fdf2
doc: Moved PDF documentation link into links.html
2013-12-12 18:55:09 +01:00
Tobias Bieniek
555999397b
doc: Moved searchbox into searchbox.html file
2013-12-12 18:49:44 +01:00
Tobias Bieniek
25a45f6bf7
doc: Moved links section to its own file
2013-12-12 18:48:10 +01:00
Tobias Bieniek
82f017edeb
doc: Removed unused themes
2013-12-12 18:48:10 +01:00
Tobias Bieniek
b4842b20f6
doc: Added proper sidebar to index page
2013-12-12 18:48:10 +01:00
Tobias Bieniek
e14e966da9
doc: Activate "Flask" theme
2013-12-12 18:48:09 +01:00
Tobias Bieniek
ebe0c34a02
doc: Imported Flask Sphinx Styles
...
from https://github.com/mitsuhiko/flask-sphinx-themes
2013-12-12 18:48:09 +01:00
Tobias Bieniek
7d711083ec
.gitignore: Removed *.html rule
...
The Sphinx templates are HTML files and should be included.
2013-12-12 18:48:09 +01:00
holger krekel
0a4d5a423e
some doc fixes
2013-12-12 13:06:25 +01:00
holger krekel
b9ccb9d31f
Added tag 2.5.0 for changeset a064ad64d167
2013-12-12 13:06:21 +01:00
holger krekel
a056b41070
fix typo
2013-12-12 13:01:57 +01:00
holger krekel
6d26c44895
remove py25 from automated testing
2013-12-12 08:16:16 +01:00
holger krekel
1644cd2da5
don't declare py25 as supported anymore.
2013-12-12 07:30:34 +01:00
holger krekel
98135a3d30
remove unusued import
2013-12-12 06:55:05 +01:00
holger krekel
307a41339c
fix expicit assert messages for Python2.6: it turns out python2.6
...
instantiates the AssertionError differently for tuples. Test
and fix to neutralize it.
2013-12-12 06:41:48 +01:00
Bruno Oliveira
72ebd74715
Updated plugins_index.txt with latest plugins
2013-12-11 17:28:08 -02:00
holger krekel
bfa53811d3
regen docs and bump version to 2.5.0
2013-12-11 12:20:19 +01:00
holger krekel
0fa77d58c4
preparing 2.5.0 release announcement
2013-12-11 12:12:01 +01:00
holger krekel
fa80b8ad17
add changelog: fix issue319 - correctly show unicode in assertion errors. Many
...
thanks to Floris Bruynooghe for the complete PR. Also means
we depend on py>=1.4.19 now.
2013-12-11 11:28:06 +01:00
holger krekel
9cdb6fc724
Merged in paylogic/pytest/override-fixture-via-parametrization (pull request #92 )
...
Paratrization overrides existing fixtures.
2013-12-10 14:59:10 +01:00
holger krekel
cd8e69e33c
close issue240 - rework "good practises" document and discuss
...
discuss the two common test directory layouts in more detail, including
an explicit note on how it interacts with PEP420-namespace packages.
2013-12-10 14:54:13 +01:00
Anatoly Bubenkov
7b87f7b6b5
Paratrization overrides existing fixtures.
...
--HG--
branch : override-fixture-via-parametrization
2013-12-10 14:27:29 +01:00
holger krekel
dd0da4643a
clarify that pytest.mark.parametrize() takes a list of argvalues and not just
...
arbitrary iterators. Addresses issue122.
2013-12-10 10:16:27 +01:00
holger krekel
7766526992
address issue122 -- explode "params" into a list in fixture function decorators
2013-12-09 10:48:15 +01:00
holger krekel
5c3d692008
some minor internal cleanup
2013-12-09 10:40:39 +01:00
holger krekel
bdf9147ad4
fix changelog
2013-12-09 10:38:40 +01:00
holger krekel
ad2ac256de
speed up reorder for large higher-than-function-scoped parametrizations
2013-12-09 10:05:44 +01:00
holger krekel
a4466342ae
make bench.py accept an optional script name and add a slow "manyparam" test
2013-12-09 08:14:58 +01:00
holger krekel
0d7af592c0
speed up a test
2013-12-09 08:14:39 +01:00
holger krekel
66ffc5e0f8
backout allowing @pytest.fixture in front of pytest_funcarg__NAME functions.
...
It was introduced because of pylint warnings and it's probably better to
go for a pylint-pytest plugin that avoids also other warnings/issues.
2013-12-09 07:07:47 +01:00
holger krekel
320137a4aa
Merged in msabramo/pytest/color_option (pull request #91 )
...
Remove u'' literal in test_color_{yes,no} for Python 3.2 compat
2013-12-08 20:56:21 +01:00
Marc Abramowitz
0278dc9b6f
Remove u'' literal in test_color_{yes,no} for Python 3.2 compat
...
--HG--
branch : color_option
2013-12-08 11:39:55 -08:00
holger krekel
7d9297e929
add changelog entry: PR90: add --color=yes|no|auto option to force terminal coloring
...
mode ("auto" is default). Thanks Marc Abramowitz.
2013-12-08 20:25:36 +01:00
holger krekel
9e03ea8215
Merged in msabramo/pytest/color_option (pull request #90 )
...
Add option: --color=(yes/no/auto)
2013-12-08 20:19:37 +01:00
Marc Abramowitz
60f5b15f20
Remove superfluous `monkeypatch` arg to test_color_yes
...
--HG--
branch : color_option
2013-12-07 12:04:23 -08:00
holger krekel
e67047d629
remove unused cache argument for re-ordering items.
2013-12-07 21:00:33 +01:00
holger krekel
10edfa65dc
fix issue396 -- properly sort tests using class-scoped parametrization
...
also refix issue323 in a better way to avoid recursion for the fixture-grouping
algorithm alltogether.
2013-12-07 20:55:17 +01:00
holger krekel
daec4c70b8
refactor sorting wrt class-scopes. This fixes issue396 and also simplifies
...
the internal sorting algorithm a bit.
2013-12-07 19:31:27 +01:00
holger krekel
dbfbc2b222
add a skip benchmark file (from issue400).
2013-12-07 19:11:37 +01:00
holger krekel
426907eafb
radically simplify eq/neq with nodes by just using Pythons builtin "is" relationship.
...
The need for comparing two separately instantiated nodes seems to be historic
(related to an already-gone mode of pytest-xdist which would re-collect nodes)
and not actually needed anymore.
2013-12-07 16:39:53 +01:00
holger krekel
4f0879ff9b
refactor internal finalization mechanics such that all fixture arguments
...
in a test invocation will have a corresponding FixtureDef instance.
also fixes issue246 (again).
simplify parametrized fixture teardown by making it work lazy:
during the setup of a parametrized fixture instance any previously
setup instance which was setup with a different param is torn down
before setting up the new one.
2013-12-07 16:37:46 +01:00
Marc Abramowitz
bec6ee5c29
Assert 'test session starts' in output for test_color_{yes,no}
...
--HG--
branch : color_option
2013-12-06 11:58:04 -08:00
Marc Abramowitz
23fa4cec61
Add option: --color=(yes/no/auto)
...
--HG--
branch : color_option
2013-12-06 11:49:48 -08:00
holger krekel
4b9dbd3920
remove unused line
2013-12-05 14:40:50 +01:00
holger krekel
98c6ced46e
refactor and document parametrized sorting code.
2013-12-05 06:09:29 +01:00
holger krekel
cb485e5af4
reopen #246 -- it turns out parametrized finalization ordering is not fully fixed -- i modified the test and marked it xfail for now.
2013-12-04 16:09:37 +01:00
holger krekel
817b175870
allow to use pytest.fixture decorator on old-style pytest_funcarg__NAME definitions.
2013-12-04 07:16:34 +01:00
holger krekel
bd320951e6
Merged in paylogic/pytest/parametrize-hashable (pull request #89 )
...
implement index-based mechanizm for collection of parametrized tests
2013-12-03 21:07:15 +01:00
Anatoly Bubenkov
0cfd873abe
implement index-based mechanizm for collection of parametrized tests
...
--HG--
branch : parametrize-hashable
2013-12-03 21:05:19 +01:00
holger krekel
d30ad3f5ce
fix reporting for @mock'd test functions
2013-12-03 11:23:22 +01:00