UI unit testing using CppUnit framework

Reinhold Füreder R.Fureder at exeter.ac.uk
Sat Feb 17 09:24:40 PST 2007


Hi Chris,

Thanks a lot for CCing. Ahem, my initial free web space provider changed
its policy -- everything is now published at
http://www.wefi.net/swWxGuiTesting/

Reinhold

> -----Original Message-----
> From: Chris Wilson [mailto:chris at qwirx.com] 
> Sent: Saturday, February 17, 2007 4:04 PM
> To: wx-users at lists.wxwidgets.org
> Cc: siva_barathi at yahoo.co.in; [iso-8859-1] Reinhold Freder
> Subject: Re: UI unit testing using CppUnit framework
> 
> 
> Hi STS,
> 
> On Sat, 17 Feb 2007 tsssiva at gmail.com wrote:
> 
> > Can anyone tell me how we can test GUI (MFC/ATL) unit testing using 
> > CppUnit framework ?
> 
> Reinhold Fureder has developed a unit testing framework for 
> SimpleWare. 
> See 
> [http://www.nabble.com/RE:-Contributing-an-automated-wxWidgets
-GUI-testingframework-to-the-open-source-community-p4238538.html]

Unfortunately the old link in that post no longer works. Hopefully it is

still available to the public, and he will be able to tell us the new 
permanent location to download it.

In the mean time, you can check out my Boxi project 
[http://boxi.sourceforge.net] which uses portions of this framework (but

not the whole framework as it's rather large and complex). Running Boxi 
with the -t option runs the unit tests.

See main() in src/main.cpp, src/swWxGuiTestEventSimulationHelper.cpp, 
src/Test*.cpp and src/WxGuiTestHelper.cpp for details.

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |





More information about the wx-users mailing list