holger krekel
6ff0fdb977
fix issue443: fix skip examples to use proper comparison. Thanks Alex
...
Groenholm.
2014-04-03 22:26:10 +02:00
holger krekel
b0837693d0
add some changelog entries
2014-04-03 10:04:09 +02:00
holger krekel
51cff6f106
fix issue486: better reporting and handling of early conftest loading failures
...
--HG--
branch : issue486
2014-04-02 20:42:41 +02:00
Floris Bruynooghe
b0e31dca86
Mention fix for issue 453 in changelog
2014-04-02 18:00:25 +01:00
holger krekel
36288c5134
fix issue493: don't run tests in doc directory with ``python setup.py test``
...
(use tox -e doctesting for that)
2014-04-02 12:48:35 +02:00
holger krekel
83a3cc9c94
fix issue492: avoid leak in test_writeorg. Thanks Marc Abramowitz.
2014-04-02 12:32:30 +02:00
holger krekel
0c04b44919
fix issue492: avoid leak in test_writeorg
2014-04-02 12:32:21 +02:00
holger krekel
3bca62e9e4
fix issue436: improved finding of initial conftest files from command
...
line arguments by using the result of parse_known_args rather than
the previous flaky heuristics. Thanks Marc Abramowitz for tests
and initial fixing approaches in this area.
2014-04-02 11:29:23 +02:00
holger krekel
72b4534a0c
add changelog entry for some PRs: improvements to pytest's own
...
test-suite leakage detection, courtesy of PRs from Marc Abramowitz
2014-04-02 09:51:24 +02:00
holger krekel
8e4e2ba244
merge main
2014-04-01 15:06:44 +02:00
holger krekel
3b8935c533
remove dupped_stdout logic and related changes, also simplify pytest_runtest_* calls to not use a contextlib with-decorator anymore.
2014-04-01 15:03:17 +02:00
holger krekel
85d52481b1
fix issue483: trial/py33 works now properly. Thanks Daniel Grana for PR.
2014-03-28 14:47:34 +01:00
holger krekel
95cc114b34
add changelog entry:
...
fix issue412: messing with stdout/stderr FD-level streams is now
captured without crashes.
2014-03-28 11:29:29 +01:00
holger krekel
84ab194516
add changelog: merge PR123: improved integration with mock.patch decorator on tests.
2014-03-26 19:06:56 +01:00
holger krekel
892aa457be
fix issue472: clarify that ``pytest.config.getvalue()`` cannot work
...
if it's triggered ahead of command line parsing.
2014-03-26 07:15:54 +01:00
holger krekel
8f7b53e55b
fix issue490: include pytest_load_initial_conftests in documentation
...
and improve docstring.
2014-03-25 14:43:58 +01:00
holger krekel
50abe43216
fix issue #479 : properly handle nose/unittest(2) SkipTest exceptions
...
during collection/loading of test modules. Thanks to Marc Schlaich
for the complete PR.
2014-03-14 15:44:39 +01:00
holger krekel
cfd43a9b02
add changelog for warning system, bump internal version
2014-03-14 08:15:38 +01:00
holger krekel
25ab906b8b
add release announcement, bump version to 2.5.2,
...
add links to plugins index, regenerate doc examples.
2014-01-29 13:47:11 +01:00
holger krekel
2dade6ed00
add changelog entry about issue429, adapt README
2014-01-29 09:00:14 +01:00
Ronny Pfannschmidt
177637bfb9
Redo the Capture integration propperly
2014-01-24 21:22:19 +01:00
holger krekel
8e6d538a57
address issue416: clarify docs as to conftest.py loading semantics
2014-01-23 15:25:01 +01:00
holger krekel
9aaf0fd340
backing out Ronny's PR because it was merged too early (still has failing tests)
2014-01-22 22:15:40 +01:00
Ronny Pfannschmidt
8976b3ee0e
stop exposing capsys/capfd.capture
2014-01-22 21:52:32 +01:00
Ronny Pfannschmidt
ac2f2b1deb
add notes on the copied pylib version
2014-01-22 21:50:07 +01:00
holger krekel
cccfaa81fb
fix issue413: exceptions with unicode attributes are now printed
...
correctly also on python2 and with pytest-xdist runs. (the fix
requires py-1.4.20)
2014-01-22 17:48:56 +01:00
holger krekel
1ffc006363
fixed circular imports by reverting a few py.test -> pytest substitions.
2014-01-22 11:17:25 +01:00
holger krekel
836232e544
fix issue425: mention at end of "py.test -h" that --markers
...
and --fixtures work according to specified test path (or current dir)
2014-01-22 10:24:22 +01:00
holger krekel
86ef81454f
fix name
2014-01-19 09:13:06 +01:00
holger krekel
675669c52e
added changelog: fixed docs and code to use "pytest" instead of "py.test"
...
everywhere. Thanks Jurko Gspodnetic for the complete PR.
2014-01-18 14:53:04 +01:00
holger krekel
699892bd03
fix issue409 -- better interoperate with cx_freeze by not
...
trying to import from collections.abc which causes problems for py27/cx_freeze.
2013-12-18 14:56:45 +01:00
holger krekel
90551c6ce2
adding a release announcement and some doc fixes
2013-12-17 07:58:49 +01:00
holger krekel
d3b8390df3
Merge branch 'doc' of git+ssh://github.com/Turbo87/pytest into Turbo87-doc
...
Conflicts:
CHANGELOG
2013-12-17 06:49:12 +01:00
holger krekel
5a13f31bce
fix issue407: fix addoption docstring to point to argparse instead of
...
optparse. Thanks Daniel D. Wright.
2013-12-16 18:07:05 +01:00
holger krekel
01ae5dbb2e
amend CHANGELOG with credits and issue mentioning
2013-12-16 08:04:46 +01:00
Floris Bruynooghe
0c737e3de0
Allow parameterised fixtures to give paramemter IDs
...
This is just like the markers etc already can do.
2013-12-15 22:15:15 +00:00
Ronny Pfannschmidt
e843b028e6
fix issue404 by more strict junitxml escape
2013-12-13 10:28:23 +01:00
Tobias Bieniek
6f54a6be1e
CHANGELOG: Simplified section headings
2013-12-12 19:10:24 +01:00
Tobias Bieniek
d1faccb061
CHANGELOG: Removed trailing whitespace
2013-12-12 19:08:26 +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
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
holger krekel
7766526992
address issue122 -- explode "params" into a list in fixture function decorators
2013-12-09 10:48:15 +01:00
holger krekel
bdf9147ad4
fix changelog
2013-12-09 10:38:40 +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
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
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
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
holger krekel
817b175870
allow to use pytest.fixture decorator on old-style pytest_funcarg__NAME definitions.
2013-12-04 07:16:34 +01:00