generalize skipping

- rename pytest_xfail to pytest_skip
- dynamic "skipif" and "xfail" decorators
- move most skipping code to the plugin

also coming with this commit:
- extend mark keyword to accept positional args + docs
- fix a few documentation related issues
- leave version as "trunk" for now

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-10-15 16:18:57 +02:00
parent 5e21e39125
commit 3ca770b420
28 changed files with 532 additions and 241 deletions

View File

@@ -15,7 +15,7 @@ For questions please check out http://pylib.org/contact.html
(c) Holger Krekel and others, 2009
"""
version = "1.1.0b1"
version = "trunk"
__version__ = version = version or "1.1.x"
import _py.apipkg
@@ -53,7 +53,6 @@ _py.apipkg.initpkg(__name__, dict(
'_PluginManager' : '_py.test.pluginmanager:PluginManager',
'raises' : '_py.test.outcome:raises',
'skip' : '_py.test.outcome:skip',
'importorskip' : '_py.test.outcome:importorskip',
'fail' : '_py.test.outcome:fail',
'exit' : '_py.test.outcome:exit',
# configuration/initialization related test api