[Pyunit-interest] Modifications to PyUnit
                
                Brought to you by:
                
                    purcell
                    
                
            
            
        
        
        
    | 
     
      
      
      From: Nathan H. <na...@he...> - 2000-06-04 02:09:07
      
     
   | 
I've made some modifications to PyUnit on my own. I made them so I can
use PyUnit the way I use other Unit Tests frameworks based on JUnit. I
don't think they are production quality (for anyone but me, that is) so
if I could get some feedback I am interested in making changes so that I
can formally submit them to PyUnit.
A tarball of the changes are available at :
    http://heagy.com/unittest-mod.tar.gz
Changes:
    * TestSuite will now accept a Class on construction. It searches the
class for methods that being with "test_" or "Test_" and adds them to
the suite automatically.
    * A GUI based on wxWindows is included. Currently it assumes you
want to import * from ClassName, and also assumes that you want to use
the new style suite creation.
Included in the tarball:
    * modified unittest.py
    * diff file of changes
    * wxGui.py
    * A class and its test class that use the new style suite
construction so that you can test the GUI right away
All comments are welcome,
Nathan Heagy
Blow Your Beef Away
http://cowcomics.com
 |