Re: Coverage (was Re: 37% of total test execution time is spent in a single test)
No problem, that shows just how useful test coverage tools may be. Best regards, Gabriel. 2006/10/20, Ivanov, Alexey A <[EMAIL PROTECTED]>: Gabriel, See another thread for the answer: http://thread.gmane.org/gmane.comp.java.harmony.devel/16591/focus=16591 Thanks for noticing that. Regards, -- Alexey A. Ivanov Intel Middleware Product Division >-Original Message- >From: Gabriel Miretti [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 17, 2006 5:28 PM >To: harmony-dev@incubator.apache.org >Subject: Re: Coverage (was Re: 37% of total test execution time is spent in >a single test) > >Vladimir > >Do you know why javax.swing.text.html tests weren't computed by the >coverage tool if they are present in the SVN tree? > >Gabriel Miretti > >2006/10/10, Vladimir Ivanov <[EMAIL PROTECTED]>: >> On 10/6/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote: >> > >> > > >> > > - 'cc' - for cruise control script (and move current stuff to this >dir); >> > > >> > > - 'coverage' - for coverage scripts (It will nice if somebody also >> > placed >> > > here data from issue 564); >> > > >> > > - 'japi' - for script to run 'japi'-tool. >> > >> > Agreed on all three. >> >> >> >> It will fine if somebody do it :). We have updated version of CC ( >> HARMONY-995 <http://issues.apache.org/jira/browse/HARMONY-995>) and >coverage >> scripts (HARMONY-564 <http://issues.apache.org/jira/browse/HARMONY-564> ). >I >> hope we will have a japi script soon. >> >> Now I'm going to: >> >> - improve notification for CC to include txt files (output of cunit and >> smoke tests for DRLVM); >> >> - add imageio/print/applet modules to coverage script. >> >> I hope, it will be small updated to 'buildtest' module instead of >> reattach to jira a whole scripts again. >> >> >> >> thanks, Vladimir >> >> Do we have a japi script? >> > >> > geir >> > >> > > >> > > >> > > >> > > Seems, that directory 'tests' also should be created in this module >to >> > > place non-unit tests when we will have one. >> > > >> > > >> > > >> > > thanks, Vladimir >> > > >> > >> > - >> > Terms of use : http://incubator.apache.org/harmony/mailing.html >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> > >- >Terms of use : http://incubator.apache.org/harmony/mailing.html >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Coverage (was Re: 37% of total test execution time is spent in a single test)
First of all, please excuse my late reply, Vladimir. Right now I'm working in the tests for the implementation of jx.s.t.h.p.Parser, but here we are using a different code coverage tool, which is Clover, sorry :) When I found your post at harmony-dev, I realized that none of that tests were computed. At this moment, I'm not using the coverage system but I think that it is important for Harmony to have a good coverage tool and know how much code was covered by the tests. Keep the good work. Gabriel PD: Clover is offered with free licensing for open source projects. http://www.cenqua.com/clover/licensing.html and has plugins for Eclipse. 2006/10/19, Vladimir Ivanov <[EMAIL PROTECTED]>: On 10/17/06, Gabriel Miretti <[EMAIL PROTECTED]> wrote: Vladimir Do you know why javax.swing.text.html tests weren't computed by the > coverage tool if they are present in the SVN tree? Seems, you are first person who tries to use it :) The reason is the coverage system emulates common tests run over the profiled classes. But common run includes only tests from the dir="${ hy.swing.src.test.api}/java/common". Actually, I don't know why :( But I'll try to run other tests too in the next 'coverage calculation' cycle. thanks, Vladimir Note, you can do it too :) Just download the last attachment for jira 564, update property and run it. Gabriel Miretti 2006/10/10, Vladimir Ivanov <[EMAIL PROTECTED]>: > On 10/6/06, Geir Magnusson Jr. < [EMAIL PROTECTED] > wrote: > > > > > > > > - 'cc' - for cruise control script (and move current stuff to this dir); > > > > > > - 'coverage' - for coverage scripts (It will nice if somebody also > > placed > > > here data from issue 564); > > > > > > - 'japi' - for script to run 'japi'-tool. > > > > Agreed on all three. > > > > It will fine if somebody do it :). We have updated version of CC ( > HARMONY-995 < http://issues.apache.org/jira/browse/HARMONY-995>) and coverage > scripts (HARMONY-564 < http://issues.apache.org/jira/browse/HARMONY-564 > ). I > hope we will have a japi script soon. > > Now I'm going to: > > - improve notification for CC to include txt files (output of cunit and > smoke tests for DRLVM); > > - add imageio/print/applet modules to coverage script. > > I hope, it will be small updated to 'buildtest' module instead of > reattach to jira a whole scripts again. > > > > thanks, Vladimir > > Do we have a japi script? > > > > geir > > > > > > > > > > > > > > Seems, that directory 'tests' also should be created in this module to > > > place non-unit tests when we will have one. > > > > > > > > > > > > thanks, Vladimir > > > > > > > - > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Coverage (was Re: 37% of total test execution time is spent in a single test)
Vladimir Do you know why javax.swing.text.html tests weren't computed by the coverage tool if they are present in the SVN tree? Gabriel Miretti 2006/10/10, Vladimir Ivanov <[EMAIL PROTECTED]>: On 10/6/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote: > > > > > - 'cc' - for cruise control script (and move current stuff to this dir); > > > > - 'coverage' - for coverage scripts (It will nice if somebody also > placed > > here data from issue 564); > > > > - 'japi' - for script to run 'japi'-tool. > > Agreed on all three. It will fine if somebody do it :). We have updated version of CC ( HARMONY-995 <http://issues.apache.org/jira/browse/HARMONY-995>) and coverage scripts (HARMONY-564 <http://issues.apache.org/jira/browse/HARMONY-564> ). I hope we will have a japi script soon. Now I'm going to: - improve notification for CC to include txt files (output of cunit and smoke tests for DRLVM); - add imageio/print/applet modules to coverage script. I hope, it will be small updated to 'buildtest' module instead of reattach to jira a whole scripts again. thanks, Vladimir Do we have a japi script? > > geir > > > > > > > > > Seems, that directory 'tests' also should be created in this module to > > place non-unit tests when we will have one. > > > > > > > > thanks, Vladimir > > > > - > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]