1Python 3 Sprint Outcomes 2======================== 3 4We provided WebOb with 100% statement coverage at the 2011 PyCon Pyramid 5sprint in Atlanta GA. 6 7Participated: 8 9Alexandre Conrad, Patricio Paez, Whit Morriss, Rob Miller, Reed O'Brien, 10Chris Shenton, Joe Dallago, Tres Seaver, Casey Duncan, Kai Groner, Chris 11McDonough. 12 13In doing so, we added roughly 700-800 unit tests, and disused existing 14doctests as coverage (they are still runnable, but don't get run during 15``setup.py test``). 16 17We never did get around to actually doing any porting to Python 3. Adding 18comprehensive test coverage proved to be enough work to fill the sprint days. 19 20The bitbucket fork on which this work was done is at 21https://bitbucket.org/chrism/webob-py3k. I've made a tag in that repository 22named "sprint-coverage" which represents a reasonable place to pull from for 23integration into mainline. 24 25Testing Normally 26---------------- 27 28 $ python2.x setup.py test 29 30Testing Coverage 31---------------- 32 33 $ python2.X setup.py nosetests --with-coverage 34 35Testing Documentation 36--------------------- 37 38Doctests don't run when you run "setup.py test" anymore. To run them 39manually, do: 40 41 $ cd webob 42 $ $MYVENV/bin/python setup.py develop 43 $ cd docs 44 $ $MYVENV/bin/python doctests.py 45 46Blamelist 47--------- 48 49- webob.acceptparse (aconrad) 50 51- webob.byterange (ppaez) 52 53- webob.cachecontrol (whit) 54 55- webob.dec (rafrombrc) 56 57- webob.descriptors (reedobrien) 58 59- webob.etag (shentonfreude) 60 61- webob.multidict (joe) 62 63- webob.request (tseaver) 64 65- webob.response (caseman/mcdonc) 66 67- webob.exc (joe) 68 69Doctest-to-Unit Test Conversion 70------------------------------- 71 72- tests/test_request.txt (aconrad) 73 74- tests/test_response.txt (groner) 75 76