[svn r58288] update TODOs, docstring
--HG-- branch : trunk
This commit is contained in:
parent
eebb9d7257
commit
cdb8fa1abe
|
@ -1,5 +1,5 @@
|
||||||
"""
|
"""
|
||||||
collect and run traditional "unittest.py" style tests.
|
automatically collect and run traditional "unittest.py" style tests.
|
||||||
|
|
||||||
drop this conftest.py into your project directory so that
|
drop this conftest.py into your project directory so that
|
||||||
all testing directories are below it.
|
all testing directories are below it.
|
||||||
|
@ -11,13 +11,13 @@ user-extensions such as a custom test_suite()
|
||||||
will not be considered (see XXX).
|
will not be considered (see XXX).
|
||||||
|
|
||||||
$HeadURL: https://codespeak.net/svn/py/trunk/contrib/py_unittest/conftest.py $
|
$HeadURL: https://codespeak.net/svn/py/trunk/contrib/py_unittest/conftest.py $
|
||||||
$Id: conftest.py 58286 2008-09-21 07:18:39Z hpk $
|
$Id: conftest.py 58288 2008-09-21 08:17:11Z hpk $
|
||||||
"""
|
"""
|
||||||
import py
|
import py
|
||||||
import unittest
|
import unittest
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
__version__ = "$Rev: 58286 $".split()[1]
|
__version__ = "$Rev: 58288 $".split()[1]
|
||||||
|
|
||||||
def configproperty(name):
|
def configproperty(name):
|
||||||
def fget(self):
|
def fget(self):
|
||||||
|
|
|
@ -4,8 +4,6 @@ Things to do for 1.0.0
|
||||||
py.test
|
py.test
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
- simplify collect API
|
|
||||||
|
|
||||||
- get APIGEN back to work
|
- get APIGEN back to work
|
||||||
|
|
||||||
- get web reporter back to work
|
- get web reporter back to work
|
||||||
|
@ -14,6 +12,18 @@ py.test
|
||||||
as to mark a test as "expected to fail",
|
as to mark a test as "expected to fail",
|
||||||
report specially if it surprisingly passes
|
report specially if it surprisingly passes
|
||||||
|
|
||||||
|
- introduce extended skipping, for example:
|
||||||
|
|
||||||
|
py.test.skip(ifexecerror='''
|
||||||
|
import docutils
|
||||||
|
assert docutils.__version__.startswith("0.4")
|
||||||
|
''')
|
||||||
|
|
||||||
|
- introduce setuptools-style version checking, at least
|
||||||
|
for py lib itself, maybe also for other packages:
|
||||||
|
|
||||||
|
py.checkversion("py>=1.0")
|
||||||
|
|
||||||
- nightly test runs on multiple platforms
|
- nightly test runs on multiple platforms
|
||||||
|
|
||||||
- review and refactor architecture of py.test with particular
|
- review and refactor architecture of py.test with particular
|
||||||
|
|
Loading…
Reference in New Issue