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