Re: [Pyunit-interest] Unitesting organisation
                
                Brought to you by:
                
                    purcell
                    
                
            
            
        
        
        
    | 
     
      
      
      From: Ype K. <yk...@xs...> - 2001-10-30 19:01:49
      
     
   | 
Joel, >You are right for the testing method. > >I think I need to write an other configParser because, url are specify in >it. These url are used by some other script download web page. >I think to use an other configParser with url pointing to a local web site >on my machine to provide test page. > >What do you think about that phylosophy ? You might split your configParser into a client part and a parsing part and test the two separately. The client should obtain data from the right URL, and the parser should parse some data correctly. Once both parts are tested you can test them together: the configParser output should be the expected output for a (test) URL. Regards, Ype P.S. This might be getting off topic for Pyunit. Reply to me directly in case you agree.  |