Commit Graph

317 Commits

Author SHA1 Message Date
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
holger krekel e2c11f1ddb fix python3 issues, add py32 environment
--HG--
branch : trunk
2010-09-28 17:37:20 +02:00
holger krekel 88915aa57d fix tox.ini invocation
--HG--
branch : trunk
2010-09-28 15:58:23 +02:00
holger krekel 6aab9bcfb9 another whitespace-correction commit
--HG--
branch : trunk
2010-07-30 15:05:24 +02:00
holger krekel 74523a9d09 avoid loading conftest files which are exactly the same content as a previously loaded conftest file
--HG--
branch : trunk
2010-07-29 11:22:16 +02:00
holger krekel 1ffe0e7b82 using improved versioing
--HG--
branch : trunk
2010-07-07 18:08:16 +02:00
holger krekel 4d4344212f fixing a doc reference, removing development dependency
--HG--
branch : trunk
2010-07-07 16:37:28 +02:00
holger krekel eddd16d9fd progressing towards 1.3.2, adding announcement, regen docs
--HG--
branch : trunk
2010-07-07 15:41:28 +02:00
holger krekel 320835d43f split out pytest-xdist related reporting to the plugin
--HG--
branch : trunk
2010-07-07 12:41:15 +02:00
holger krekel 48d818742c adjust tox.ini
--HG--
branch : trunk
2010-07-06 12:04:22 +02:00
holger krekel 2b13836efa use the new sdistfile option
--HG--
branch : trunk
2010-07-05 18:40:49 +02:00
holger krekel 195d066ff8 skip sdist on hudson
--HG--
branch : trunk
2010-07-05 17:14:20 +02:00
holger krekel 1e8b59e39f updating tox.ini to new format
--HG--
branch : trunk
2010-07-05 15:55:21 +02:00
holger krekel b28c439494 some minor compatibility issues wrt to the just released python2.7
--HG--
branch : trunk
2010-07-04 22:13:12 +02:00
holger krekel 223a04be27 fix doc env
--HG--
branch : trunk
2010-07-04 19:16:49 +02:00
holger krekel 3aefaff44f improve testing of docs
--HG--
branch : trunk
2010-07-04 18:25:22 +02:00
holger krekel e533e63bbf enable some more tests
--HG--
branch : trunk
2010-07-04 13:56:03 +02:00
holger krekel be582b5f53 don't use dist-testing with jython to uncomplicate the testing matter
--HG--
branch : trunk
2010-07-03 14:54:48 +02:00
holger krekel ca9b320c9c update again
--HG--
branch : trunk
2010-07-03 14:30:47 +02:00
holger krekel ace2f975ea update tox.ini according to tox progress
--HG--
branch : trunk
2010-07-03 14:29:43 +02:00
holger krekel e3250f4846 another correction
--HG--
branch : trunk
2010-07-02 15:33:36 +02:00
holger krekel 29217a47f4 updated tox.ini
--HG--
branch : trunk
2010-07-02 15:26:03 +02:00
holger krekel 8c0dfb525d use the new envbindir subst
--HG--
branch : trunk
2010-07-02 10:15:30 +02:00
holger krekel aa4308883c py.test-1.3.1 does not provide py.test proper for jython, only py.test-jython
(py.test-1.3.2 will provide py.test even for jython installs)

--HG--
branch : trunk
2010-07-01 19:54:28 +02:00
holger krekel 381b81b0e1 actually run only "testing" tests
--HG--
branch : trunk
2010-07-01 19:46:22 +02:00
holger krekel 7335c4d06d add jython env
--HG--
branch : trunk
2010-07-01 19:43:46 +02:00
holger krekel 6fa58fd8c9 (ARGH) of windows/hudson/multi-config combo produces too long filenames, so use the global temp dir
--HG--
branch : trunk
2010-07-01 18:39:25 +02:00
holger krekel c57a24774d use confcutdir
--HG--
branch : trunk
2010-07-01 18:12:38 +02:00
holger krekel d51000b15d add a tox.ini file
--HG--
branch : trunk
2010-07-01 17:59:35 +02:00
holger krekel 504e42a62e remove tox.ini for now
--HG--
branch : trunk
2010-06-17 13:25:28 +02:00
holger krekel add518e6b6 use new --junitprefix option for tox reporting
--HG--
branch : trunk
2010-06-09 16:35:50 +02:00
holger krekel 4437ecb385 make terminal tests pass on win32/python2.4 and update tox.ini
--HG--
branch : trunk
2010-06-09 12:01:13 +02:00
holger krekel d00b62e0f4 fix tox.ini
--HG--
branch : trunk
2010-06-07 23:23:24 +02:00
holger krekel 740a668f52 adding a tox file and a note in changelog
--HG--
branch : trunk
2010-06-05 15:59:11 +02:00