Steps to run swtBot test via ant [message #37228] |
Thu, 28 May 2009 14:15  |
Eclipse User |
|
|
|
Hi,
I've developed bunch of test cases which are running fine inside the
Eclipse IDE using "SWTBot Test" plugin. I've achieved the first part of
making gui test cases automated, to achieve 100% gui automation I need to
invoke these test via ant so that I could enable these test cases via
Hudson.
I downloaded the Eclipse test framework and executed the existing test
cases which are bundled with this framework via ant. I would like to know
how to add my test cases which are working fine inside the IDE. I've all
the infrastructure ready w.r.to ant, all I need are the steps to add new
test cases, for e.g
(1) From Eclipse IDE, Export my project as plugins and save it in some
directory.
(2) Add entry's in org.eclipse.swtbot.releng\build.xml
(3) update test.xml file under org.eclipse.swtbot.releng\test-sandbox
w.rto my
plugins tests
(4) Add myPlugin.xml in org.eclipse.swtbot.releng\test-sandbox.
It might be straight forward, unfortunately I'm stuck in these
configuration. Can anyone provide the steps to add a test in the ant
framework? Or share your ant structure with the steps how to add new
tests to your ant framework.
I appreciate your time in advance.
|
|
|
|
|
|
|
Re: Steps to run swtBot test via ant [message #37772 is a reply to message #37432] |
Fri, 29 May 2009 11:58  |
Eclipse User |
|
|
|
Hi Ketan,
Yes, I'm pointing AllTests to -className, but it unable to find the
AllTests.class file itself. Is there any clue to debug this class exist
during execution time? -debug options doesn't give much information.
--Asif.
|
|
|
Powered by
FUDForum. Page generated in 0.37403 seconds