[interfacekit] Re: Ready, set, go!

>I have a thread aware cppunit ready which I think we can use to perform 

>tests which need more than one thread (like testing BLocker for 
>instance).  Check out:
>
>http://www.windswept-iv.ca/openbeos/CppUnit.zip

>Do people think the mechanism is OK?  I tried to make the 
>ThreadedTestSuite as integrated and consistent with the current CppUnit 

>as possible.  The only thing I don't like is modelling each thread 
>within a single multithreaded test as individual tests.  It is a bit of 

>a stretch, but it was very natural from a code and interface 
>standpoint.
>
>Feedback is welcome.  If people think this is a good interface for 
>doing threaded tests, I will start changing my existing tests using 
>this library.  Thanks.

        Hi Jeremy,

        I was reading the README (or docs, or whatever it was) for CppUnit, and 
it's derived from JUnit, a test suite for Java.  In the notes it says 
that one of the things they left out was a threaded test case.  You 
might want to take a look at the original JUnit and see what they did 
(not that I'm saying what you've done is bad at all; heck, I haven't 
looked at either version yet :)

        Graham




Other related posts: