support for unit testing with cppunit

Ewald Arnold kdevelop at ewald-arnold.de
Fri Aug 27 18:39:02 UTC 2004


Hi all,

currently I am working on a library that supports unit testing. You can create 
mock objects with it which simulate real world objects to make the testing 
process easier and particularly reproducable. The project is located on 
http://mockpp.sf.net.

As framework for the flow control I am using cppunit (http://cppunit.sf.net) 
At the moment I am running a simple "make check" to perform the tests but I 
would like to have a graphical interface for easier inspection and to simply 
click on an error to move the cursor to the buggy place in the sources.

What do other people on this list think about it? Has someone else already 
started such a project or am I the only one to perform systematic unit tests?

I have already started coding by copying the sources from parts/valgrind. This 
seems fine as a starting point. It installed flawlessly and I can see it in 
the part explorer. Unfortunately the part does not appear in the settings in 
kdevelop or in the toolbar. Has anyone an idea what I am doing wrong? I 
searched the whole kdevelop project but there seems no place where I could 
enable it.

greets

-- 
Ewald Arnold, Germany
mailto:ewald at ewald-arnold dot de
icq:227435282




More information about the KDevelop-devel mailing list