| From:Larry Mello [mellolarry@masked-domain] |
| Sent on:Tue, 24 Jun 2008 09:11:59 -0700 (PDT) |
--0-1522245893-1214323919=:14717
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hello to all.=A0 I think Abbot is a great product.=A0 We are using Abbot 1.=
0.0 RC 2.
=A0
I have used Abbot successfully to perform unit=A0test against our Java GUI =
client.=A0 I don't know if it makes any difference, but we don't use Costel=
lo - we write tests by hand.
=A0
Our original roll-out consisted of a JFrame and several modal dialogs and I=
wrote tests for them just fine.=A0 However, we have recently enhanced our =
original JFrame: it now has a "default" JInternalFrame (containing a JTree)=
which users use to open other internal frames.=A0 I have enhanced the orig=
inal JFrame tests to deal with the initial "default" frame.
=A0
I would like to write another suite of tests for=A0an internal=A0frame that=
a user can open using the JTree on the "default" internal frame.=A0 I woul=
d like to set up this internal frame as a fixture.=A0 I can't do a "showWin=
dow" on it as a JInternalFrame is not a valid argument.=A0 Using "showFrame=
" on it doesn't work properly either.=A0 I can probably (though I haven't t=
ried it yet) set up the JFrame and the JInternalFrame=A0that I want to=A0te=
st as one big fixture, although I'd rather not create (and destroy)=A0the m=
ain GUI (the JFrame) for every test.=A0 What I want to do is create the mai=
n GUI once then treat the JInternalFrame as a fixture.=A0 Is this "allowed"=
or should the main GUI be part of the fixture's set up and tear down?
=A0
Thanks,
=A0
Larry=0A=0A=0A
--0-1522245893-1214323919=:14717
Content-Type: text/html; charset=us-ascii
<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'><P>Hello to all. I think Abbot is a great product. We are using Abbot 1.0.0 RC 2.</P>
<P> </P>
<P>I have used Abbot successfully to perform unit test against our Java GUI client. I don't know if it makes any difference, but we don't use Costello - we write tests by hand.</P>
<P> </P>
<P>Our original roll-out consisted of a JFrame and several modal dialogs and I wrote tests for them just fine. However, we have recently enhanced our original JFrame: it now has a "default" JInternalFrame (containing a JTree) which users use to open other internal frames. I have enhanced the original JFrame tests to deal with the initial "default" frame.</P>
<P> </P>
<P>I would like to write another suite of tests for an internal frame that a user can open using the JTree on the "default" internal frame. I would like to set up this internal frame as a fixture. I can't do a "showWindow" on it as a JInternalFrame is not a valid argument. Using "showFrame" on it doesn't work properly either. I can probably (though I haven't tried it yet) set up the JFrame and the JInternalFrame that I want to test as one big fixture, although I'd rather not create (and destroy) the main GUI (the JFrame) for every test. What I want to do is create the main GUI once then treat the JInternalFrame as a fixture. Is this "allowed" or should the main GUI be part of the fixture's set up and tear down?</P>
<P> </P>
<P>Thanks,</P>
<P> </P>
<P>Larry</P></td></tr></table><br>
--0-1522245893-1214323919=:14717--
--