Re: [Cppunit-devel] distributed environment
Brought to you by:
blep
|
From: Gary G. <gr...@at...> - 2002-06-06 17:21:25
|
Hello Armin,
I can suggest an alternative method of distributing the tests. I wanted to
run tests on a C++ application from the existing JUnit GUI, so I wrote a
CORBA IDL for some of the CppUnit interfaces. This was relatively easy to
do because the interfaces were simple and well-defined. Then I added CORBA
implementations for Tests and TestCases to the CppUnit library which serve
as proxies for the actual Tests and TestCases in the C++ test application.
So any Tests written using the existing CppUnit library could also be
called remotely through CORBA. This method avoids serialization, the front
and back ends could be completely different architectures, different
languages, and you could choose between the MFC GUI and the Java GUI. It
was especially convenient for Java since CORBA is readily available, but I
think a C++ front-end would also be possible.
You can grab the source for my modified CppUnit and some simple READMEs
from the UnixCppUnit section of my home page:
http://www.atd.ucar.edu/~granger
The modifications were based on an older version of CppUnit, but perhaps
the example will still be useful to you.
gary
|