Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Launching SWTBot test through EclEmma(Required configuration for using EclEmma)
Launching SWTBot test through EclEmma [message #505389] Wed, 30 December 2009 10:54 Go to next message
Monisha  is currently offline Monisha Friend
Messages: 4
Registered: December 2009
Junior Member
HI

i have configured EclEmma for launching my SWTBot test application. I donno what is missing b'coz when i launch my application it is successfully launched and performs the required operations. After it is terminated, process of generating coverage data starts, but after some logs an error dialog is shown stating:

"No coverage data file has been written during this coverage.
Please make sure that your project does NOT include EMMA runtime libraries or EMMA configuration settings. Do not terminate the Java process manually from Eclipse."


please help ! Confused
im not sure what im missing !!

Thanks in advance..

[Updated on: Wed, 30 December 2009 11:16]

Report message to a moderator

Re: Launching SWTBot test through EclEmma [message #505746 is a reply to message #505389] Mon, 04 January 2010 18:13 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Hi,

This normally happens with emma when it does not generate the coverage
metadata.

Either your code was not instrumented or the metadata did not contain
anything.

I'd recommend asking the eclemma for more information.

-- Ketan

On 12/30/09 2:55 AM, Monisha wrote:
> HI
>
> i have configured EclEmma for launching my SWTBot test application. I
> donno what is missing b'coz when i launch my application it is
> successfully launched and performs the required operations. After it is
> terminated, process of generating coverage data starts, but after some
> logs an error dialog is shown stating:
>
> "No coverage data file has been written during this coverage.
> Please make sure that your project does NOT include EMMA runtime
> libraries or EMMA configuration settings. Do not terminate the Java
> process manually from Eclipse."
>
>
> please help ! :?
> Thanks in advance..
>
>
Re: Launching SWTBot test through EclEmma [message #505795 is a reply to message #505746] Mon, 04 January 2010 23:27 Go to previous message
Monisha  is currently offline Monisha Friend
Messages: 4
Registered: December 2009
Junior Member
Hi Ketan,

Thanks for the reply Smile

There was also some out of memory exception coming, so i increased the memory heap size and launched my application again. Then the logs showed me what all plugins were already instrumented.

I removed those plugins from the coverage configuration and finally the required coverage session file was generated. Smile


- Monisha
Previous Topic:Problems running headless junit4 tests with eclipse 3.4.2
Next Topic:Nebula support with SWTBot
Goto Forum:
  


Current Time: Thu Apr 25 01:07:11 GMT 2024

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

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

Back to the top