holger krekel
1bbe1d086c
fix issue160 a failing setup of an xfail-marked tests should
...
be reported as xfail (not xpass)
2012-06-19 23:48:39 +02:00
holger krekel
63eacd9dd5
fix comment handling
2012-06-12 13:41:29 +02:00
holger krekel
7b95af2400
only run test_unittest.py for the twisted/trial config
2011-12-28 17:43:56 +00:00
holger krekel
4a08ee2b74
remove debugging-changes to tox.ini
2011-12-14 11:29:25 +00:00
holger krekel
82ba764bb6
fix unorderable types as reported by Ralf Schmitt
2011-12-14 10:56:51 +00:00
holger krekel
94e31e414a
bump version depend on new pylib
2011-12-12 12:45:28 +00:00
holger krekel
d4fe273b2f
fix FD leakage during pytest's own test run and add "--lsof" option to tox default test runs.
...
the leakage came down to a problematic bit of the stdlib logging module: it takes ownerships of stdout/stderr making it hard for pytest to implement clean capturing. The current work around is to add some extra code in the setup machinery of pytest's own tests which actually closes sub-FDs.
2011-11-06 15:40:17 +00:00
holger krekel
3bd3ba133f
fix issue75 - test failure on jython.
...
also experimentally enable more tests in the jython test env.
2011-09-25 07:40:43 +02:00
holger krekel
09933b8b04
bump to 2.1.1, regen examples, add release announcement
2011-08-20 18:37:00 +02:00
holger krekel
85118e9019
needs pypi.testrun.org for now to pull py lib
2011-07-08 23:09:41 +02:00
holger krekel
c2cdc66eca
only invoke distribute's use_setuptools when there is no setuptools installed
2011-07-08 22:58:22 +02:00
holger krekel
ae9b7a8bea
use pypi.testrun.org so that py>1.4.0 gets picked up correctly
2011-01-12 18:03:55 +01:00
holger krekel
1b3fb3d229
fix issue15 - tests for python3/nose-1.0 combo work now
2011-01-11 17:27:34 +01:00
holger krekel
2e80512bb8
fix issue8 : avoid errors caused by logging module wanting to close already closed streams.
...
The issue arose if logging was initialized while capturing was enabled
and then capturing streams were closed before process exit, leading
to the logging module to complain.
2010-12-06 16:56:12 +01:00
holger krekel
c7531705fc
refine plugin registration, allow new "-p no:NAME" way to prevent/undo plugin registration
2010-12-06 16:54:42 +01:00
holger krekel
752965c298
add some docs and new projects
2010-12-06 10:41:20 +01:00
holger krekel
96a687b97c
make pytest test suite pypy ready
2010-11-27 16:40:52 +01:00
holger krekel
d894bae281
bumping version to a dev version, run tests by using python PyPI by default
2010-11-26 13:37:00 +01:00
holger krekel
4cb2c74159
introduce new discovery mechanism
...
XXX experiment with using it before introducing it or wait
for feature request
2010-11-24 22:01:04 +01:00
holger krekel
9be1cd8007
fix #6 : allow skip/xfail/pdb with trial by hacking the raw exception info out from trial
2010-11-24 11:48:55 +01:00
holger krekel
11e8e5570e
depend on py, not pylib distro
2010-11-23 17:21:34 +01:00
holger krekel
f456e376b9
refine tmpdir handling and docs
...
- clear tmpdir specified with --basetemp
- remove config.mktmp and config.getbasetemp methods
2010-11-21 17:43:18 +01:00
holger krekel
eaf68c1ffd
better deal with importing conftest.py with --doctest-modules and
...
re-enable default of "--doctest-modules" even if issued at root level
2010-11-18 15:31:58 +01:00
holger krekel
5a2295ada5
fix bare "py.test" runs without a directory by not defaulting to --doctest-modules which will virtually import everything
2010-11-18 15:19:20 +01:00
holger krekel
582486d531
refine docs and docstrings, fix some small bits here and there while doing that.
2010-11-18 14:56:16 +01:00
holger krekel
acd286f82f
run doctests in .txt/.rst files directly specified on command line irrespective of "test*.txt" pattern.
2010-11-17 14:33:21 +01:00
holger krekel
a298cf753d
some pep8 fixes
2010-11-13 23:33:50 +01:00
holger krekel
1bc444d5c8
some fixes to make cross linux/windows remote testing work again
2010-11-13 19:46:28 +01:00
holger krekel
929291775e
flat is better than nested (cont'd):
...
- pytest.py is new module, making "python -m pytest" work always
- _pytest/*.py now contains core.py, hookspec and the plugins, no sub packages
2010-11-13 11:10:45 +01:00
holger krekel
5bec71edc4
adapt to simplified tox indexserver definition
2010-11-08 21:13:24 +01:00
holger krekel
51fa358d8a
adapt to new tox indexserver syntax
2010-11-08 17:36:45 +01:00
holger krekel
07b67d36c4
install dependency from pytest distribution, not prior.
2010-11-08 09:22:14 +01:00
holger krekel
55dff651f4
refine initilization: read config also from a "pytest.ini" file if exists
...
and revert earlier commandline option and group ordering change.
2010-11-07 16:10:22 +01:00
holger krekel
d0ac4135a2
introduce an option that avoids discovery of classes other than unittest.TestCase in modules
...
importing unittest.
2010-11-06 23:45:48 +01:00
holger krekel
6dac77433e
majorly refactor collection process
...
- get rid of py.test.collect.Directory alltogether.
- introduce direct node.nodeid attribute
- remove now superflous attributes on collect and test reports
2010-11-06 09:58:04 +01:00
holger krekel
85c24b7fa1
some test fixes and refinements
2010-11-01 08:16:10 +01:00
holger krekel
8871ca5bfa
introduce "-q" option which decreases verbosity and basically leads to a unittest/nosetest-style "." output
...
add it in an ini file like this:
[pytest]
addargs=-q
and you get that by default.
2010-10-31 19:51:16 +01:00
holger krekel
b6ec5a575d
get option settings from ini-file. make getting configuration options from conftest.py only an internal feature.
...
--HG--
branch : trunk
2010-10-31 17:41:58 +01:00
holger krekel
b86b1628bb
introduce reading of setup.cfg / ini-style configuration files
...
rename internal config.Error to pytest.UsageError
--HG--
branch : trunk
2010-10-27 19:35:27 +02:00
holger krekel
29222dffc9
add a genscript target
...
--HG--
branch : trunk
2010-10-26 10:09:41 +02:00
holger krekel
47e56e0dee
streamline tox ini
...
--HG--
branch : trunk
2010-10-21 16:10:46 +02:00
holger krekel
e3f48a81c5
skip tests that want to invoke py.test without proper installation
...
--HG--
branch : trunk
2010-10-20 22:10:35 +02:00
holger krekel
5701ffa8d6
also fix py31 tox.ini entry
...
--HG--
branch : trunk
2010-10-20 21:08:21 +02:00
holger krekel
87e9cb9bec
reconfig tox.ini to care use testrun.org for installation of sdist
...
--HG--
branch : trunk
2010-10-20 21:01:01 +02:00
holger krekel
976549cc88
fixing jython specs for testing
...
--HG--
branch : trunk
2010-10-15 21:12:06 +02:00
holger krekel
bf1cd25831
use testrun indexserver, remove hudson artifact handling
...
--HG--
branch : trunk
2010-10-15 20:35:21 +02:00
holger krekel
1b7d2b07ab
some fixes to packaging and urls
...
--HG--
branch : trunk
2010-10-15 00:54:25 +02:00
holger krekel
251fb0ab1c
various documentation related refinements
...
--HG--
branch : trunk
2010-10-12 10:59:04 +02:00
holger krekel
652d0ca636
fix tox.ini and dependencies, various fixes all around, tests pass.
...
--HG--
branch : trunk
2010-10-10 13:48:49 +02:00
holger krekel
a6003ac332
some fixes after the merge
...
--HG--
branch : trunk
2010-10-02 20:49:24 +02:00