|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Code Coverage Free Tool For Eclipse 2.xHi All,
I have been trying to find a Code Coverage Free Tool For Eclipse 2.x.
Used DJunit. But i guess it will work only for JUnit test cases. Normal application run will not be taken care of. Please suggest or please direct me to the right place.
Best Regards,
Ruchi
------------------------------------------------------------------------- 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 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Code Coverage Free Tool For Eclipse 2.xDid you try out for EclEmma
|
|
|
Re: Code Coverage Free Tool For Eclipse 2.xI believe DJunit uses JCoverage, and I am pretty sure it can be
used to track the coverage of a normal application run, but I guess that
functionality may not be built into the Eclipse plugin. You may want to look
into Emma as well, but I would not be surprised if the plugin also lacked that
functionality. Cobertura has the functionality, but it does not have a plugin. John From:
cobertura-devel-bounces@...
[mailto:cobertura-devel-bounces@...] On Behalf Of Reena
Panwar Hi All, I have been trying to find a Code Coverage Free Tool For
Eclipse 2.x. Used DJunit. But i guess it will work only for JUnit test
cases. Normal application run will not be taken care of. Please suggest or
please direct me to the right place. Best Regards, Ruchi ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Code Coverage Free Tool For Eclipse 2.xIt's worth spending the time writing an ant script to run your tests and coverage etc. That way you don't need to worry about which IDE you use.
2008/7/2 John W. Lewis <JohnW.Lewis@...>:
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Code Coverage Free Tool For Eclipse 2.xI think making a simple JUnit to run the application would take
care of the “problem” with djUnit. Is there a reason that
would not work? (yes djUnit uses JCoverage) From:
cobertura-devel-bounces@...
[mailto:cobertura-devel-bounces@...] On Behalf Of Lionel
van den Berg It's worth spending the time
writing an ant script to run your tests and coverage etc. That way you don't
need to worry about which IDE you use. 2008/7/2 John W. Lewis <JohnW.Lewis@...>: I believe DJunit uses
JCoverage, and I am pretty sure it can be used to track the coverage of a
normal application run, but I guess that functionality may not be built into
the Eclipse plugin. You may want to look into Emma as well, but I
would not be surprised if the plugin also lacked that functionality. Cobertura has the
functionality, but it does not have a plugin. John From: cobertura-devel-bounces@... [mailto:cobertura-devel-bounces@...]
On Behalf Of Reena Panwar Hi All, I have been trying to find a Code Coverage Free Tool For Eclipse 2.x. Used DJunit. But i guess it will work only for JUnit test cases. Normal
application run will not be taken care of. Please suggest or please direct me
to the right place. Best Regards, Ruchi
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Code Coverage Free Tool For Eclipse 2.xHi,
Thank you all for responding. That was great help.
Yes i tried with eclemma, but it does not work with eclipse2.x. Yes it works well with eclipse 3.x. But i am using eclipse 2.x
Yes even i thought that, as JUnit uses jcoverage, so it should run normal application with a main. But when i try to do so it gives an error message "No JUnit tests found". When ran with a JUnit test case it works fine. If you feel i might not be having the right plugin , please give me directions.
Yes i thought of writing ant scipt an all so that i can use Cobertura as well. But am not very sure how to go about it. May be i can look into this option.
As for EMMA i am not sure if there is an eclipse plugin for EMMA.
Apart form all this do i have any other code coverage plugin which works well with eclipse 2.x.
Best Regards,
Reena
On 7/2/08, Jeff Jensen <jjensen@...> wrote:
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Code Coverage Free Tool For Eclipse 2.xI advise visiting one one of the many Eclipse forums if you are sure you want to be so tightly bound to your IDE. Are you even sure you must use 2.X, why can't you upgrade?
There is documentation on the Cobertura website about how to write an ant script. If you don't know how to do JUnit tests in ant then visit the ant website and the junit website, there is documentation everywhere. It's not easy the first time you do it, but it is totally worth it. Lionel. 2008/7/2 Reena Panwar <reenapanwar@...>:
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Code Coverage Free Tool For Eclipse 2.xdjUnit works well for us in both 2.x and 3.x (we started using
it with 2.x – we have been using it for over 3 years, and the team really
likes it). “No JUnit tests found” is a config error on your
part. If you need further help, I suggest finding the support option for
the djUnit plugin. Coverlipse is another one, but I have not used it nor do I know
if it works with Eclipse 2.x: http://coverlipse.sourceforge.net/index.php From: Reena Panwar
[mailto:reenapanwar@...] Hi, Thank you all for responding. That was great help. Yes i tried with eclemma, but it does not work with
eclipse2.x. Yes it works well with eclipse 3.x. But i am using eclipse 2.x Yes even i thought that, as JUnit uses jcoverage, so it
should run normal application with a main. But when i try to do so it gives an
error message "No JUnit tests found". When ran with a JUnit
test case it works fine. If you feel i might not be having the right
plugin , please give me directions. Yes i thought of writing ant scipt an all so that i can
use Cobertura as well. But am not
very sure how to go about it. May be i can look into this option. As for EMMA i am not sure if there is an eclipse plugin for
EMMA. Apart form all this do i have any other code coverage plugin
which works well with eclipse 2.x. Best Regards, Reena On 7/2/08, Jeff Jensen <jjensen@...> wrote:
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
|
|
Re: Code Coverage Free Tool For Eclipse 2.xIMO, using Maven is the easiest way to run Cobertura. Doing
so should be part of the automated build process of at least daily.
Augmenting users with IDE-Cobertura integration is great, and very
useful. Possibly you would accept running Maven from Eclipse to generate
the Cobertura results. I still think you can get djUnit working, if you carefully
review the configuration you have. From: cobertura-devel-bounces@...
[mailto:cobertura-devel-bounces@...] On Behalf Of Lionel
van den Berg I advise visiting one one of
the many Eclipse forums if you are sure you want to be so tightly bound to your
IDE. Are you even sure you must use 2.X, why can't you upgrade? 2008/7/2 Reena Panwar <reenapanwar@...>: Hi, Thank you all for responding. That was great help. Yes i tried with eclemma, but it does not work with
eclipse2.x. Yes it works well with eclipse 3.x. But i am using eclipse 2.x Yes even i thought that, as JUnit uses jcoverage, so it
should run normal application with a main. But when i try to do so it gives an
error message "No JUnit tests found". When ran with a JUnit
test case it works fine. If you feel i might not be having the right
plugin , please give me directions. Yes i thought of writing ant scipt an all so that i can
use Cobertura as well. But am not
very sure how to go about it. May be i can look into this option. As for EMMA i am not sure if there is an eclipse plugin for
EMMA. Apart form all this do i have any other code coverage plugin
which works well with eclipse 2.x. Best Regards, Reena On 7/2/08, Jeff Jensen <jjensen@...>
wrote:
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Cobertura-devel mailing list Cobertura-devel@... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
| Free Forum Powered by Nabble | Forum Help |