It seems like a good idea....to create two directories...say 

tests
    spectests
        tests_0-8
        tests_0-9
        tests_0-X
         ...
    unittests
        codec.py
        connection.py
        ...

though it would be better to use a name like codec_unittest.py(for unitests) , 
message_spectest.py(for spectests) rather than codec.py placed in the 
unittests/spectests dir. 

Jimmy


----- Original Message ----
From: Gordon Sim <[EMAIL PROTECTED]>
To: Qpid dev list <[email protected]>
Sent: Thursday, May 31, 2007 8:05:08 AM
Subject: [python] run-tests: unit tests v. broker tests

Some excellent new unit tests have been added to the python code on 
trunk. Not all of these pass at present.

Brokers using the python run-tests script to test themselves will pick 
these new tests up and will report failures. One option is to add the 
failures to the list of expected failures for each broker.

However as these new tests don't even open a connection to a broker, I 
wondered whether it would be more sensible to start partitioning the 
tests into unit tests for the python code itself and tests used to 
verify broker behaviour. That then seemed worth raising as a question 
for the group... thoughts?







       
____________________________________________________________________________________Be
 a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

Reply via email to