Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] Test issue

On Wed, Apr 10, 2013 at 11:52 PM, #ROHIT AGRAWAL# <ROHI0012@xxxxxxxxxxxx> wrote:

Hi,

 

  I have been trying all day without any luck. Just so I am not missing anything obvious , are there any additional plugins which need to be installed for SWTBot ? Right now I am just using a Eclipse Juno version also with EGit installed and M2E plugin.

 

I tried running the maven command in Eclipse IDE also but got the same error. However, when I skip tests, it does build successfully. The failing test is :

Results :

Failed tests:   canCreateSWTBotProject(org.eclipse.swtbot.eclipse.ui.functional.ProjectCreationWizardTest): expected:<...anifest-Version: 1.0[

 

What do you suggest I do since I cant seem to get the tests running?


you could mark the failing test with @Ignore annotation to see if the other tests work for you.

Did you try to run the failing test without Maven via "Run as > SWTBot test" [1] ? This way you can
also debug the test. Prerequisite for that is to install the SWTBot plugin into Eclipse.

Do you have any other heavy background processes running on your machine ? This may influence
timing behavior. If you face timeouts you could try to increase timeouts [2].


--
Matthias

Back to the top