Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » test of my SWT application
test of my SWT application [message #4467] Fri, 07 November 2008 11:45 Go to next message
Brice Laurel is currently offline Brice LaurelFriend
Messages: 72
Registered: July 2009
Member
Hi list,

I create my java project "MyAppli" with eclipse 3.4 (File-> New-> JAVA
Project -> ....). In this application, I create the SWT graphical user
interface.
I install SWTBot plugins and restart eclipse.
I create another plugins project "MyAppliTest"(File-> New-> Plugins
Project->...) for testing my project "MyAppli"
I create my class "TestPage.java" which extends SWTBotTestCase, to test my
project "My appli", but when I go to the run configuration of my class(
Run a product ....), I don't see my application "MyApply" in the list.

Is SWTBot test only the Plugins Project?
Re: test of my SWT application [message #4537 is a reply to message #4467] Fri, 07 November 2008 18:37 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Hi Brice,

You're trying to test a simple SWT based application. You should just
run your test as a JUnit test(right click>run as>junit test).

SWTBot test is to be used for tests written for plugins.

-- Ketan

Brice Laurel wrote:
> Hi list,
>
> I create my java project "MyAppli" with eclipse 3.4 (File-> New-> JAVA
> Project -> ....). In this application, I create the SWT graphical user
> interface.
> I install SWTBot plugins and restart eclipse.
> I create another plugins project "MyAppliTest"(File-> New-> Plugins
> Project->...) for testing my project "MyAppli"
> I create my class "TestPage.java" which extends SWTBotTestCase, to test
> my project "My appli", but when I go to the run configuration of my
> class( Run a product ....), I don't see my application "MyApply" in the
> list.
>
> Is SWTBot test only the Plugins Project?
>
>
>
>
Previous Topic:support for JUnit4?
Next Topic:FooBarTest and FooTest
Goto Forum:
  


Current Time: Thu Apr 25 06:43:50 GMT 2024

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

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

Back to the top