holger krekel
|
7d495cc250
|
majorly changing the unittest compatibility code, calling TestCase(name)(result)
|
2010-11-01 23:08:16 +01:00 |
holger krekel
|
53d1cfc3a1
|
allow unregistration by name
|
2010-11-01 09:20:58 +01:00 |
holger krekel
|
32ac7a7c6e
|
rename addargs to addopts, make adding of opts configurable
|
2010-11-01 08:55:14 +01:00 |
holger krekel
|
85c24b7fa1
|
some test fixes and refinements
|
2010-11-01 08:16:10 +01:00 |
holger krekel
|
cf8dd64703
|
slightly simplify collection node init
|
2010-11-01 01:01:31 +01:00 |
holger krekel
|
c3ec2718a2
|
fix tests by using less likely existing import names
|
2010-11-01 00:38:44 +01:00 |
holger krekel
|
5616874823
|
streamline some hook docs and option handling, remove cruft bits, fix doc links
|
2010-10-31 23:28:31 +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
|
bb50ec89a9
|
remove restdoc plugin which now lives as pytest-restdoc on bitbucket,
and be easily included in a project now (like PyPy which still needs it)
|
2010-10-31 19:04:22 +01:00 |
holger krekel
|
23f8d8bce7
|
allow modules/conftest files specify dotted import paths for loading plugins
|
2010-10-31 19:01:46 +01:00 |
holger krekel
|
03924d205d
|
show pytest.__version__ not pylib
|
2010-10-31 18:57:44 +01:00 |
holger krekel
|
35969e13ae
|
remove feature deprecated prior even to 1.0
|
2010-10-31 18:46:10 +01:00 |
holger krekel
|
bc574f4d94
|
remove superflous collect_by_name, and improve some docs
--HG--
branch : trunk
|
2010-10-31 18:01:33 +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
|
1280041f0c
|
add and document new parser.addini(name, description) method to describe
ini-values. Also document the parser object with its public methods.
--HG--
branch : trunk
|
2010-10-30 19:23:50 +02:00 |
holger krekel
|
2d8bcbdf55
|
document "setup.py test" to use genscript'ed version.
--HG--
branch : trunk
|
2010-10-28 09:29:56 +02:00 |
holger krekel
|
c9e629c870
|
remove old ways to set option defaults, relying on global setup.cfg or tox.ini files now.
revamp py.test --help-config
--HG--
branch : trunk
|
2010-10-27 22:29:01 +02: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
|
90c1084a88
|
add --lsof self-testing option
--HG--
branch : trunk
|
2010-10-26 09:11:53 +02:00 |
holger krekel
|
5fc87acf9b
|
re-introduce compatibility attributes on collection nodes to keep compatible with code like::
def pytest_collect_file(path, parent):
... parent.Module(...)
--HG--
branch : trunk
|
2010-10-25 23:09:21 +02:00 |
holger krekel
|
4480401119
|
allow unittest test functions to work with the "pytestmark" mechanism
by refactoring mark/keyword handling and initialization
--HG--
branch : trunk
|
2010-10-25 23:08:56 +02:00 |
holger krekel
|
a6f10a6d80
|
unify collection for finding items and for finding initial nodes.
--HG--
branch : trunk
|
2010-10-25 23:08:41 +02:00 |
holger krekel
|
603ff3a64f
|
also check for stderr, add changelog entry
--HG--
branch : trunk
|
2010-10-24 23:43:35 +02:00 |
holger krekel
|
b4210f3ae0
|
fix issue93 - hide output of code in early-loaded conftest files
--HG--
branch : trunk
|
2010-10-24 23:26:14 +02:00 |
holger krekel
|
1999180dfd
|
xpass tests don't cause non-zero exit codes
--HG--
branch : trunk
|
2010-10-22 12:00:17 +02:00 |
holger krekel
|
56afcfc9f3
|
make safer filenames
--HG--
branch : trunk
|
2010-10-21 16:10:37 +02:00 |
Ronny Pfannschmidt
|
039037701a
|
use pyfuncitem name for tmpdir in order to take generative test id into account
--HG--
branch : trunk
|
2010-10-17 00:24:59 +02:00 |
Ronny Pfannschmidt
|
5d798feaf0
|
fix genscript by copying the new implementation from the genscript package
--HG--
branch : trunk
|
2010-10-16 03:10:14 +02:00 |
Ronny Pfannschmidt
|
2a579217b8
|
alias function keywords to funcarg request keywords
--HG--
branch : trunk
|
2010-10-16 02:00:05 +02:00 |
holger krekel
|
9925ac883e
|
refine and document conftest loading and handling.
--HG--
branch : trunk
|
2010-10-13 18:45:07 +02:00 |
holger krekel
|
f3fb91e296
|
remove all deprecated functionality and tests
--HG--
branch : trunk
|
2010-10-13 18:41:53 +02:00 |
holger krekel
|
17719b99a1
|
select tests by call-id, add and refine documentation around it
--HG--
branch : trunk
|
2010-10-13 12:26:14 +02:00 |
holger krekel
|
3a5d28f3fe
|
removed unnccessary indirections in the PluginManager,
also fixed a bug in _core.varnames(), which probably considerably
speeds up hook calls.
--HG--
branch : trunk
|
2010-10-13 11:12:27 +02:00 |
holger krekel
|
04c41cb672
|
shift config initialization to own "config" plugin
--HG--
branch : trunk
|
2010-10-12 15:34:32 +02:00 |
holger krekel
|
7453fc107c
|
merge _pytest into pytester self-testing plugin
--HG--
branch : trunk
|
2010-10-12 13:10:39 +02:00 |
holger krekel
|
07c835fdf3
|
merge keyword into mark plugin
--HG--
branch : trunk
|
2010-10-12 13:05:29 +02:00 |
holger krekel
|
6631447161
|
merge config, pluginmanager, main into one file
--HG--
branch : trunk
|
2010-10-12 12:54:32 +02:00 |
holger krekel
|
6efc6dcb62
|
move pytest/collect.py to pytest/plugin/session.py - approaching
total py.test pluginizations ...
--HG--
branch : trunk
|
2010-10-12 12:19:53 +02:00 |
holger krekel
|
aa70d9073c
|
rename last test files
--HG--
branch : trunk
|
2010-10-11 08:10:55 +02:00 |
holger krekel
|
eee0e14334
|
internally switch to pytest.plugin.NAME instead of pytest.plugin.pytest_NAME
--HG--
branch : trunk
|
2010-10-11 01:14:40 +02:00 |
holger krekel
|
4ee3831ac9
|
start reorganizing docs, write more docs, shift plugin docs, to proper documentation,
use sphinx, remove old docs ... work in progress.
--HG--
branch : trunk
|
2010-10-10 23:45:45 +02:00 |
holger krekel
|
854f6a98ae
|
remove some more cruft
--HG--
branch : trunk
|
2010-10-10 15:52:13 +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
|
32fce34825
|
move config to _config
--HG--
branch : trunk
|
2010-10-10 13:48:49 +02:00 |
holger krekel
|
51bb0f53c5
|
move session.py and collect.py to a unified pytest_session.py plugin.
--HG--
branch : trunk
|
2010-10-10 13:48:48 +02:00 |
holger krekel
|
d1aff902d5
|
remove pylib things and move things to new pytest namespace
--HG--
branch : trunk
|
2010-10-07 11:59:00 +02:00 |
holger krekel
|
f488da5cc8
|
merge parseopt into config module
--HG--
branch : trunk
|
2010-10-07 13:26:07 +02:00 |
holger krekel
|
98bdf022d3
|
merge conftesthandle into config.py
--HG--
branch : trunk
|
2010-10-07 11:51:58 +02:00 |
Ronny Pfannschmidt
|
09a9ce1da1
|
fix and test a unbound local in _diff_text of the assertion plugin
--HG--
branch : trunk
|
2010-10-09 07:35:28 +02:00 |
holger krekel
|
6b0db18eca
|
two fixes for Jython
--HG--
branch : trunk
|
2010-10-07 08:55:44 +02:00 |