How to run a recorded AutoGUI macro inside a JUnit test suite? [message #134417] |
Tue, 19 August 2008 08:56  |
Eclipse User |
|
|
|
Hello
As an integrator, I must test an Eclipse platform with many plug-ins
which provide modeling tools to users.
The manual testing of each function is boring and time-consuming so I
would like to automate those tests.
I coded a set of tools which can run JUnit tests in an automated way on
a PlatformUnderTest and generate html results.
But insert a TPTP AutoGUI macro execution into the test (before an
assert, or even in the setUp() function) is not trivial. I try since one
week, with only negative results.
Is there someone who did it?
--
Cordialement
Vincent MAHÉ
Ingénieur Plate-forme OpenEmbeDD - http://openembedd.org
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71
|
|
|
Re: How to run a recorded AutoGUI macro inside a JUnit test suite? [message #134563 is a reply to message #134417] |
Thu, 21 August 2008 06:23  |
Eclipse User |
|
|
|
Hi Vincent,
The TPTP AGR test type
( http://www.eclipse.org/tptp/test/documents/gettingstarted/Au tomated_GUI_Recorder_Getting_Started.html)
has an associated test runner that is used to execute an AGR test. The only
Java/JUnit code associated with an AGR test is for the verification points.
To run a an AGR test, you must use the Test Launch Configuration in the
Eclipse Launch Configuration dialog/UI or use the Ant or Java client adapter
provided by the TPTP Automatable Services Framework (ASF):
http://help.eclipse.org/ganymede/topic/org.eclipse.hyades.te st.doc.user/tasks/tlaunching-tests-from-scripts-and-applicat ions.htm
Paul
"Vincent Mahe" <vmahe@irisa.fr> wrote in message
news:g8efu0$geq$1@build.eclipse.org...
> Hello
>
> As an integrator, I must test an Eclipse platform with many plug-ins which
> provide modeling tools to users.
>
> The manual testing of each function is boring and time-consuming so I
> would like to automate those tests.
> I coded a set of tools which can run JUnit tests in an automated way on a
> PlatformUnderTest and generate html results.
> But insert a TPTP AutoGUI macro execution into the test (before an assert,
> or even in the setUp() function) is not trivial. I try since one week,
> with only negative results.
>
> Is there someone who did it?
>
> --
> Cordialement
>
> Vincent MAH
|
|
|
Powered by
FUDForum. Page generated in 0.06517 seconds