Hey Ketan,
unfortunately, our pde build currently doesn't integrate with clover.
There's some config screw up which I guess I'll get to later(or maybe
earlier if I don't find a solution for the current problem)
For this current problem, let's assume that I am only within Eclipse using
its standard build and launch capabilities.
Therefore I can only work with clovers launch configuration which supports
the standard configs like junit and junit-plugin tests. But in SWTBot's
case, there's a third type of config that Clover obviously doesn't
recognize. So i was wondering if there's a way to provide a hook in
plugin.xml in SWT bot that Clover can pick up on. I'll post on their forum
anyways.
Coming back to PDE build. have you written swtbot ui tests for a code that's
built with pde-build which integrates with clover? The reason for this
question is that I've haven't succeded in integrating clover with pde-build
but assuming that I do, I wanted to know if swt bot will work.
Thanks
Somesh
On Tue, Jun 3, 2008 at 4:57 PM, Ketan Padegaonkar <
[EMAIL PROTECTED]> wrote:
> Hi Somesh,
>
> I believe clover does modifications at the source level rather than at
> the bytecode level:
> http://confluence.atlassian.com/display/CLOVER/clover-instr
> . So you should be able to modify the source *before* you give the
> source to PDE build.
>
> This is easier to do if you can hack in into the build scripts. Rather
> than at the wizard level. Perhaps you could talk to clover support to
> see what they do to in order to 'hook-in' clover using whatever
> dialog, and hack that feature in into your own clover-swtbot launch
> config.
>
> Cheers,
> Ketan Padegaonkar,
> I blog... therefore I am... http://ketan.padegaonkar.name
> http://swtbot.org/ - a functional testing tool for SWT/Eclipse
>
> On 04-Jun-08, at 3:17 AM, Somesh Sasalatti wrote:
>
> > Hi,
> > Has anyone tried getting code coverage using clover on the code base
> > that they are testing with SWT bot?
> >
> > What I want to do is this.
> > 1) i have a test running as a swtbot test
> > 2) i want to see the code coverage that this tests hits.
> > 3) for that i need to run the test with clover.
> >
> >
> > SWT-bot has its own launcher in Eclipse, i.e. in the "open run
> > dialog" option, you'd see a SWTBot Test launch configuration type.
> >
> > Clover has its own run dialog and SWT Bot config isn't visible there.
> > I wonder if Clover has any hooks that can be used to enable SWTBot
> > with Clover?
> > or if there's another way.
> >
> > Thanks
> > Somesh
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> SWTBot-users mailing list
> SWTBot-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/swtbot-users
> http://swtbot.org/ - a functional testing tool for SWT/Eclipse
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse