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
d108235095
implement and document new invocation mechanisms, see doc/usage.txt
...
also rename pytest._core to pytest.main for convenience.
2010-11-05 23:37:31 +01:00
holger krekel
b1e4301457
document and refine py.test.fail helper and strike superflous ExceptionFailure class
...
refine builtin organisation and start a new doc
2010-11-05 23:37:31 +01:00
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
f1e3dde2ec
bump version, add a bit to changelog
2010-10-31 19:53:11 +01:00
holger krekel
7138df5b51
bump version
...
--HG--
branch : trunk
2010-10-31 18:06:11 +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
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
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
6cddd7e793
bump version
...
--HG--
branch : trunk
2010-10-23 15:42:53 +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
dc5e2f5ed3
bump version, fix readme
...
--HG--
branch : trunk
2010-10-21 12:18:10 +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
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
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