Windows Tester

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

Windows Tester

Postby raghavan_26 » Thu Oct 19, 2006 2:03 am

Can some one send me sample code of Junit test Case Inserting Verification hooks in that ?? I mean java test case when generated using windows tester

I actually couldn't understand how to write assert staterments in the verification hook method

Thanks In advance
raghavan
raghavan_26
 
Posts: 7
Joined: Thu Oct 05, 2006 9:12 pm

Postby Phil Quitslund » Mon Oct 23, 2006 6:10 am

The only trick is to be sure you're careful only to access the UI on the UI thread. Otherwise, assertion hooks are just methods.

See this FAQ entry for more:

http://downloads.instantiations.com/Win ... test_state
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest