From 13c7fb670917c70c072c577a90e658beefebc6ae Mon Sep 17 00:00:00 2001 From: hpk Date: Sun, 21 Sep 2008 14:51:32 +0200 Subject: [PATCH] [svn r58298] move and update TODO file --HG-- branch : trunk --- py/doc/TODO.txt => TODO.txt | 112 +++++++++++++++++++++++++++++++++--- 1 file changed, 104 insertions(+), 8 deletions(-) rename py/doc/TODO.txt => TODO.txt (50%) diff --git a/py/doc/TODO.txt b/TODO.txt similarity index 50% rename from py/doc/TODO.txt rename to TODO.txt index e68b1cffe..e2c1b4560 100644 --- a/py/doc/TODO.txt +++ b/TODO.txt @@ -12,13 +12,6 @@ py.test as to mark a test as "expected to fail", 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: @@ -89,12 +82,14 @@ refactorings 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) - have a py.test scan/run database for results and test names etc. (to allow quicker selection of tests and post-run information on failures etc.) (M760) +- have config options from environment, command line or conftest's + - consider features of py.apigen (recheck closed "M1016") - integrate rlcompleter2 (make it remotely workable) @@ -118,4 +113,105 @@ features to have pyrepl+rlcompleter2+pdb fixes integrated into pylib and 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