Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » AGR from JUnits
AGR from JUnits [message #62769] Thu, 30 March 2006 18:10 Go to next message
Eclipse User
Originally posted by: dschaefer.qnx.com

I have a collection of JUnit plug-in tests already, and I generate a
nice report as part of my nightly builds scripts that gets posted as a
web page. (This is for the CDT by the way).

What I'd like to do now is add GUI tests to this framework. I'm excited
to see AGR and its ability to capture and execute GUI tests. However,
I'd like to slide them nicely into my JUnit framework.

Has anyone done anything like this? If not, anyone interested in
something like this. I would mind spending some dev cycles making this
easier to do.

Doug
Re: AGR from JUnits [message #63360 is a reply to message #62769] Sat, 01 April 2006 17:12 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
If you're willing to convert your JUnits to TPTP JUnits, then you can use a
single report template to display the results. TPTP allows the registration
of custom report templates, it also comes with an automatable service
framework that allows clients to run tests and report results via light
weight clients (e.g. ant/shell scripts).



"Doug Schaefer" <dschaefer@qnx.com> wrote in message
news:e0h6ul$emv$1@utils.eclipse.org...
> I have a collection of JUnit plug-in tests already, and I generate a
> nice report as part of my nightly builds scripts that gets posted as a
> web page. (This is for the CDT by the way).
>
> What I'd like to do now is add GUI tests to this framework. I'm excited
> to see AGR and its ability to capture and execute GUI tests. However,
> I'd like to slide them nicely into my JUnit framework.
>
> Has anyone done anything like this? If not, anyone interested in
> something like this. I would mind spending some dev cycles making this
> easier to do.
>
> Doug
Re: AGR from JUnits [message #63383 is a reply to message #62769] Sat, 01 April 2006 17:18 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
I should mention that the automatable service framework is described under
the following topic in help contents:
Testing automatically and manually > Testing JUnit plug-in > Launching tests
from scripts and applications


"Doug Schaefer" <dschaefer@qnx.com> wrote in message
news:e0h6ul$emv$1@utils.eclipse.org...
> I have a collection of JUnit plug-in tests already, and I generate a
> nice report as part of my nightly builds scripts that gets posted as a
> web page. (This is for the CDT by the way).
>
> What I'd like to do now is add GUI tests to this framework. I'm excited
> to see AGR and its ability to capture and execute GUI tests. However,
> I'd like to slide them nicely into my JUnit framework.
>
> Has anyone done anything like this? If not, anyone interested in
> something like this. I would mind spending some dev cycles making this
> easier to do.
>
> Doug
Re: AGR from JUnits [message #65226 is a reply to message #63383] Sun, 09 April 2006 15:08 Go to previous messageGo to next message
Eclipse User
Originally posted by: dschaefer.qnx.com

I guess my point is that, no, I am not willing to give up my current
infrastructure. I am happy with the reports that it generates and I
don't have the time to make fundamental changes with how my nightly
builds are done.

From what I understand, TPTP oversolves my problem and forces me to use
a complicated service and reporting mechanism. All I want to do is add
JUnits to my current infrastructure that tests the GUI. In particular,
I'd like to call an AGR test programatically and have failures exposed
as JUnit failures.

Doug.

Ali Mehregani wrote:
> I should mention that the automatable service framework is described under
> the following topic in help contents:
> Testing automatically and manually > Testing JUnit plug-in > Launching tests
> from scripts and applications
>
>
> "Doug Schaefer" <dschaefer@qnx.com> wrote in message
> news:e0h6ul$emv$1@utils.eclipse.org...
>
>>I have a collection of JUnit plug-in tests already, and I generate a
>>nice report as part of my nightly builds scripts that gets posted as a
>>web page. (This is for the CDT by the way).
>>
>>What I'd like to do now is add GUI tests to this framework. I'm excited
>>to see AGR and its ability to capture and execute GUI tests. However,
>>I'd like to slide them nicely into my JUnit framework.
>>
>>Has anyone done anything like this? If not, anyone interested in
>>something like this. I would mind spending some dev cycles making this
>>easier to do.
>>
>>Doug
>
>
>
Re: AGR from JUnits [message #65668 is a reply to message #65226] Tue, 11 April 2006 18:28 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
Hi Dough,



You can run AGR tests programmatically using the automatable test framework.

I know there is a way for users to launch tests via a Java class. There is
some EclipseCon material on how users can write an automatable service:
http://www.eclipse.org/tptp/test/documents/tutorials/eclipse Con2006/Achieving_Continuous_Integration_with_the_Eclipse_Te st_and_Performance_Tools_Platform_files/v3_document.htm



The only catch is that the results will be captured in an execution history
file. You'll need to use an existing automatable service to interpret the
results and cause JUnit failures/passes.



The primary developer of the automatable service framework is Scott
Schneider (scott.schneider@us.ibm.com). Joseph P Toomey
(jptoomey@us.ibm.com) is also fairly familiar with the framework. You can
either try to contact them personally or send out an email to the test
mailing list:



http://www.eclipse.org/tptp/home/project_info/general/mailne ws.html


"Doug Schaefer" <dschaefer@qnx.com> wrote in message
news:e1b81t$cks$1@utils.eclipse.org...
> I guess my point is that, no, I am not willing to give up my current
> infrastructure. I am happy with the reports that it generates and I
> don't have the time to make fundamental changes with how my nightly
> builds are done.
>
> From what I understand, TPTP oversolves my problem and forces me to use
> a complicated service and reporting mechanism. All I want to do is add
> JUnits to my current infrastructure that tests the GUI. In particular,
> I'd like to call an AGR test programatically and have failures exposed
> as JUnit failures.
>
> Doug.
>
> Ali Mehregani wrote:
> > I should mention that the automatable service framework is described
under
> > the following topic in help contents:
> > Testing automatically and manually > Testing JUnit plug-in > Launching
tests
> > from scripts and applications
> >
> >
> > "Doug Schaefer" <dschaefer@qnx.com> wrote in message
> > news:e0h6ul$emv$1@utils.eclipse.org...
> >
> >>I have a collection of JUnit plug-in tests already, and I generate a
> >>nice report as part of my nightly builds scripts that gets posted as a
> >>web page. (This is for the CDT by the way).
> >>
> >>What I'd like to do now is add GUI tests to this framework. I'm excited
> >>to see AGR and its ability to capture and execute GUI tests. However,
> >>I'd like to slide them nicely into my JUnit framework.
> >>
> >>Has anyone done anything like this? If not, anyone interested in
> >>something like this. I would mind spending some dev cycles making this
> >>easier to do.
> >>
> >>Doug
> >
> >
> >
Re: AGR from JUnits [message #65795 is a reply to message #65668] Tue, 11 April 2006 19:23 Go to previous message
Eclipse User
Originally posted by: dschaefer.qnx.com

Thanks, Ali, sounds like the answer to my question is "no". Maybe I can
dig around the AGR code and talk to Scott and Joe to see if I can code
up a solution.

Cheers,
Doug (although at times I look like dough :) Schaefer
Eclipse CDT Project Lead.

Ali Mehregani wrote:
> Hi Dough,
>
>
>
> You can run AGR tests programmatically using the automatable test framework.
>
> I know there is a way for users to launch tests via a Java class. There is
> some EclipseCon material on how users can write an automatable service:
> http://www.eclipse.org/tptp/test/documents/tutorials/eclipse Con2006/Achieving_Continuous_Integration_with_the_Eclipse_Te st_and_Performance_Tools_Platform_files/v3_document.htm
>
>
>
> The only catch is that the results will be captured in an execution history
> file. You'll need to use an existing automatable service to interpret the
> results and cause JUnit failures/passes.
>
>
>
> The primary developer of the automatable service framework is Scott
> Schneider (scott.schneider@us.ibm.com). Joseph P Toomey
> (jptoomey@us.ibm.com) is also fairly familiar with the framework. You can
> either try to contact them personally or send out an email to the test
> mailing list:
>
>
>
> http://www.eclipse.org/tptp/home/project_info/general/mailne ws.html
>
>
> "Doug Schaefer" <dschaefer@qnx.com> wrote in message
> news:e1b81t$cks$1@utils.eclipse.org...
>
>>I guess my point is that, no, I am not willing to give up my current
>>infrastructure. I am happy with the reports that it generates and I
>>don't have the time to make fundamental changes with how my nightly
>>builds are done.
>>
>> From what I understand, TPTP oversolves my problem and forces me to use
>>a complicated service and reporting mechanism. All I want to do is add
>>JUnits to my current infrastructure that tests the GUI. In particular,
>>I'd like to call an AGR test programatically and have failures exposed
>>as JUnit failures.
>>
>>Doug.
>>
>>Ali Mehregani wrote:
>>
>>>I should mention that the automatable service framework is described
>
> under
>
>>>the following topic in help contents:
>>>Testing automatically and manually > Testing JUnit plug-in > Launching
>
> tests
>
>>>from scripts and applications
>>>
>>>
>>>"Doug Schaefer" <dschaefer@qnx.com> wrote in message
>>>news:e0h6ul$emv$1@utils.eclipse.org...
>>>
>>>
>>>>I have a collection of JUnit plug-in tests already, and I generate a
>>>>nice report as part of my nightly builds scripts that gets posted as a
>>>>web page. (This is for the CDT by the way).
>>>>
>>>>What I'd like to do now is add GUI tests to this framework. I'm excited
>>>>to see AGR and its ability to capture and execute GUI tests. However,
>>>>I'd like to slide them nicely into my JUnit framework.
>>>>
>>>>Has anyone done anything like this? If not, anyone interested in
>>>>something like this. I would mind spending some dev cycles making this
>>>>easier to do.
>>>>
>>>>Doug
>>>
>>>
>>>
>
>
Previous Topic:May I define variable in AGR?
Next Topic:RAC vs IAC
Goto Forum:
  


Current Time: Fri Oct 24 11:33:16 GMT 2014

Powered by FUDForum. Page generated in 0.11161 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software