[svn r58298] move and update TODO file

--HG--
branch : trunk
This commit is contained in:
hpk 2008-09-21 14:51:32 +02:00
parent e77fab82ee
commit 13c7fb6709
1 changed files with 104 additions and 8 deletions

View File

@ -12,13 +12,6 @@ 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 - introduce setuptools-style version checking, at least
for py lib itself, maybe also for other packages: for py lib itself, maybe also for other packages:
@ -89,12 +82,14 @@ refactorings
features features
-------------- --------------
- (Harald Armin Massa): make py.exe work with py lib - (Harald Armin Massa): make py2exe work with py lib
- optimize file checking with --looponfailing (harald has code for win32) - optimize file checking with --looponfailing (harald has code for win32)
- have a py.test scan/run database for results and test names - have a py.test scan/run database for results and test names
etc. (to allow quicker selection of tests and post-run etc. (to allow quicker selection of tests and post-run
information on failures etc.) (M760) information on failures etc.) (M760)
- have config options from environment, command line or conftest's
- consider features of py.apigen (recheck closed "M1016") - consider features of py.apigen (recheck closed "M1016")
- integrate rlcompleter2 (make it remotely workable) - integrate rlcompleter2 (make it remotely workable)
@ -118,4 +113,105 @@ features
to have pyrepl+rlcompleter2+pdb fixes integrated into pylib and to have pyrepl+rlcompleter2+pdb fixes integrated into pylib and
have it tested. This requires work though. have it tested. This requires work though.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
--- below neeeds more review ---
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
More random notes, goals
--------------------------------
- REDUCE "MAGICALNESS", from an IRC discussion with ronny:
- integration into IDEs
- python2.6/python3 compat?
- initpkg exports
- assert reinterpretation
- greenlet compiles at runtime only in "dev-mode"
- conftest's are "scary", hum, what about
nicefications:
looponfailing shoudl nicely signal tests that failed but now PASS tests
rename Node to itemtestloop
refactor config and session tests to go into test_distsession.py
raises DID NOT RAISE: report the return value
have node.shutdown perform out-of-band so that shutdowns happens more quickly
tracebacks of importerrors of test modules should start with the test module file
- fix hostmanage to care for setting PYTHONPATH properly
- BRANCH:
adding of options
- BRANCH:
TEMPDIR handling
syspath handling (notify on changes, restore for each test?)
- COMPLETE REPORTING FOR MERGE!
- remove ItemStart and CollectionStart
which are only needed for collectonly.
implement it some other way.
- pre-counting of test items
- move assert reinterp back to session?
- merge "--tb" and "--fulltrace" option, --tb=full
- implement --showouterr, don't show outerr by default
- domainpath?
- translate remote filenames to local filenames so that,
probably based on option
- review safe_repr
- move OutcomeRepr.where/exconly attr to ReprExceptionInfo
or substitute as LocationRepr?
- reprcrash rename message to exconly
- test terminal reporter
ACCEPTANCE test for eventlog writing
ACCEPTANCE test for acceptance custom reporting :)
ACCEPTANCE showing nice Collection Errors
ACCEPTANCE test for "py.test2" exit signals
ACCEPTANCE test for "py.test2 --traceconfig"
ACCEPTANCE test for nice reprsentation of failures during Collection
ACCEPTANCE test for nice reprsentation of failures during Generator Collection
ACCEPTANCE test for "py.test2" conftest containing syntax errors
ACCEPTANCE test for "py.test2" honouring conftest specifying "extrainfo"
ACCEPTANCE test for "py.test2" on a simple example project
- merge CollectionFinish and ItemTestReport
maybe with base class: BaseReport and some common attrs/methods
- merge terminal/remote and dist-testing
and make allocation of tests to hosts more dynamic
- time setup/teardown and the actual test runs separately
ACCEPTANCE:
py.test2 --
py.test2 --repeat=10
- expect failing tests
py.test2.expectfail(feature=138)
while killing a process:
Exception in thread receiver:
Traceback (most recent call last):
File "threading.py", line 460, in __bootstrap
self.run()
File "threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/hpk/py/branch/event/py/execnet/gateway.py", line 140, in _thread_receiver
self._stopsend()
File "/home/hpk/py/branch/event/py/execnet/gateway.py", line 329, in _stopsend
self._send(None)
File "/home/hpk/py/branch/event/py/execnet/gateway.py", line 147, in _send
self._io.close_write()
File "/home/hpk/py/branch/event/py/execnet/inputoutput.py", line 106, in close_write
self.outfile.close()
IOError: [Errno 32] Broken pipe