[Webunitproj-users] RE: xml script for webunit
Brought to you by:
dgan
From: <Eri...@al...> - 2003-01-06 16:44:17
|
Franz, Unfortunately, these are all things we're stuck with, until someone has the time to address them. See my comments inline on each issue. Thanks, --Erik > -----Original Message----- > From: Fra...@sw...=20 > [mailto:Fra...@sw...] > Sent: Sunday, January 05, 2003 2:08 PM > To: Ostermueller, Erik > Subject: RE: xml script for webunit >=20 >=20 > Hi Erik,=20 >=20 > sorry it took so long for me to reply. We enjoyed=20 > holydays without > internet.=20 >=20 > > Tell me more about the issues with the unit tests. > > There is an existing problem that we inherited -- > > it has an easy work-around. >=20 > When I run 'ant unittest' the following happens:=20 >=20 > The buildfile runs.=20 > A popup appears with an ok button ant the text 'start'.=20 > When I wait a > timeout occurs and I get an error. > When I press ok, another popup appears with the test=20 > 'onchange box'. =20 I think it is important that people know that WebUnit does not yet have support to programmatically dismiss MsgBoxes. I vote that we leave these in here (in some form) until we have MsgBox support. >=20 > Then, junit displays A'OK (18 tests)' but hangs since it=20 The 'OK (18 tests)' message is currently how I judge success/failure, in light of all this other 'noise'. > appears to wait > for the jview process This behaviour really irritates me. I think I've used a profile tool (like JProbe) to help detect the root of this problem. ANT might be part of the problem too. I vaguely remember running this from a batch file and not getting this behavior. > to terminate.... wich does not. I still see 15 or 16=20 > open 'browser' > windows which - when I close > them - want to submit a bug report to Microsoft. =20 >=20 > The only chance to terminate the ant script is to press=20 > 'Ctrl-C' on the > console (This does not call > Dr. Watson or whoever this is on XP). =20 >=20 > I am expecting that the 'ant unittest' runs completely=20 > autonomous.=20 I agree that getting the unit tests to run autonomously is a good goal. We just have more work before we get there. >=20 >=20 > I have:=20 >=20 > Windows XP Service Pack 1,=20 > Java 1.4.0=20 I get these same behaviors with Win2k, 1.4.1. >=20 > Cheers,=20 > Franz >=20 |