You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(66) |
Apr
(29) |
May
(85) |
Jun
(66) |
Jul
(24) |
Aug
(139) |
Sep
(72) |
Oct
(26) |
Nov
(142) |
Dec
(34) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(55) |
Feb
(72) |
Mar
(43) |
Apr
(60) |
May
(95) |
Jun
(22) |
Jul
(48) |
Aug
(17) |
Sep
(54) |
Oct
(30) |
Nov
(82) |
Dec
(17) |
2007 |
Jan
(23) |
Feb
(38) |
Mar
(46) |
Apr
(12) |
May
(77) |
Jun
(77) |
Jul
(94) |
Aug
(51) |
Sep
(38) |
Oct
(57) |
Nov
(39) |
Dec
(67) |
2008 |
Jan
(38) |
Feb
(56) |
Mar
(42) |
Apr
(46) |
May
(37) |
Jun
(43) |
Jul
(52) |
Aug
(22) |
Sep
(22) |
Oct
(34) |
Nov
(37) |
Dec
(29) |
2009 |
Jan
(27) |
Feb
(35) |
Mar
(67) |
Apr
(37) |
May
(31) |
Jun
(79) |
Jul
(71) |
Aug
(59) |
Sep
(31) |
Oct
(47) |
Nov
(36) |
Dec
(7) |
2010 |
Jan
(15) |
Feb
(87) |
Mar
(38) |
Apr
(33) |
May
(24) |
Jun
(47) |
Jul
(26) |
Aug
(28) |
Sep
(33) |
Oct
(13) |
Nov
(8) |
Dec
(36) |
2011 |
Jan
(32) |
Feb
(10) |
Mar
(29) |
Apr
(29) |
May
(17) |
Jun
(14) |
Jul
(33) |
Aug
(11) |
Sep
(7) |
Oct
(7) |
Nov
(6) |
Dec
(10) |
2012 |
Jan
(19) |
Feb
(12) |
Mar
(16) |
Apr
(6) |
May
(18) |
Jun
(18) |
Jul
(31) |
Aug
(25) |
Sep
|
Oct
(31) |
Nov
(21) |
Dec
(9) |
2013 |
Jan
(8) |
Feb
(16) |
Mar
(8) |
Apr
(7) |
May
(3) |
Jun
(29) |
Jul
(29) |
Aug
|
Sep
(7) |
Oct
(9) |
Nov
(1) |
Dec
(1) |
2014 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
(13) |
May
(8) |
Jun
(5) |
Jul
(2) |
Aug
(4) |
Sep
(4) |
Oct
(2) |
Nov
|
Dec
(2) |
2015 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Irfan S. <irf...@gm...> - 2014-12-04 05:05:44
|
hi, when is the next official release planned for cobertura?? we are looking for support for java 8 (lambda expression) please let me know asap regards irfan |
From: Steve C. <sch...@gm...> - 2014-10-10 20:07:28
|
Looking at the source code for check goal (http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.6/src/main/java/org/codehaus/mojo/cobertura/tasks/CheckTask.java), if there are no values set, it will just ignore. clean and cobertura goals both have required fields, however they have default values set (http://mojo.codehaus.org/cobertura-maven-plugin/plugin-info.html). On Fri, Oct 10, 2014 at 8:38 AM, KARR, DAVID <dk...@at...> wrote: > I have a working configuration that runs unit tests with Cobertura using Maven. I've always been a little mystified by Maven phases and how various plugins integrate with it. > > I'd like to understand the minimum required configuration to get Cobertura automatically running along with my unit tests, and generating both the XML and HTML outputs. This may be more of a Maven question, but perhaps it requires understanding what the Cobertura plugin goals are supposed to do. > > For a long time, I had the following in the "executions" section: > --------------------------- > <executions> > <execution> > <id>prepare</id> > <phase>prepare-package</phase> > <goals> > <goal>clean</goal> > <goal>check</goal> > </goals> > </execution> > <execution> > <id>package</id> > <phase>package</phase> > <goals> > <goal>cobertura</goal> > </goals> > </execution> > </executions> > --------------------------- > > This works, but I've always been unclear on exactly what is "required" and what is just fluff. > > Today I tried simplifying this to just the following: > ----------------------------- > <executions> > <execution> > <goals> > <goal>clean</goal> > <goal>check</goal> > <goal>cobertura</goal> > </goals> > </execution> > </executions> > ----------------------------- > > This also seems to work perfectly fine. I can live with this, but I'd really like to understand the sequence of events here, and what is required, and what is not required. > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: KARR, D. <dk...@at...> - 2014-10-10 15:38:33
|
I have a working configuration that runs unit tests with Cobertura using Maven. I've always been a little mystified by Maven phases and how various plugins integrate with it. I'd like to understand the minimum required configuration to get Cobertura automatically running along with my unit tests, and generating both the XML and HTML outputs. This may be more of a Maven question, but perhaps it requires understanding what the Cobertura plugin goals are supposed to do. For a long time, I had the following in the "executions" section: --------------------------- <executions> <execution> <id>prepare</id> <phase>prepare-package</phase> <goals> <goal>clean</goal> <goal>check</goal> </goals> </execution> <execution> <id>package</id> <phase>package</phase> <goals> <goal>cobertura</goal> </goals> </execution> </executions> --------------------------- This works, but I've always been unclear on exactly what is "required" and what is just fluff. Today I tried simplifying this to just the following: ----------------------------- <executions> <execution> <goals> <goal>clean</goal> <goal>check</goal> <goal>cobertura</goal> </goals> </execution> </executions> ----------------------------- This also seems to work perfectly fine. I can live with this, but I'd really like to understand the sequence of events here, and what is required, and what is not required. |
From: Roland R. <r_...@gm...> - 2014-09-19 08:03:06
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi folks,</div> <div> </div> <div>I am a newbie with cobertura.</div> <div> </div> <div>I'd like to instrumend a WAR file. I got this done successfully with version 1.9.4.1 of cobertura. Everything worked smooth.</div> <div>To be compatible with the coverage output from our CI server, I'd like to update to version 2.0.3. This causes not only trouble but also a bit confusion.</div> <div> </div> <div>I got cobertura-2.0.3-bin.tar.gz from sf (http://sourceforge.net/projects/cobertura/files/cobertura/).</div> <div>There have been several issues with that (and even other packages):</div> <div>1) cobertura-instrument.sh calls cobertura.jar which is not included in the package. Instead, cobertura-2.0.3.jar is included.</div> <div>2) cobertura-instrument.sh wants to add asm-3.3.1.jar to the classpass. This lib is not included in the package. Instead, asm-4.1.jar is included.</div> <div>3) Same applies for all asm libs.</div> <div>4) cobertura-instrument.sh wants to add jakarta-oro-2.0.8.jar to the classpass. This lib is not included at all.</div> <div> </div> <div>I could solve some of these issues by my own. But others are not clear to me. In fact, I just added the missing libs or renamed the jar files. But:</div> <div>1) What is the exactly required version of ASM? Is it 3.3.1 or 4.1?</div> <div>2) Can I use cobertura 2.0.3 (or later) with Java 7? I read that it currently works only with Java 6.</div> <div> </div> <div>Thanks,</div> <div> Roland</div> <div> </div> <div> </div></div></body></html> |
From: Kunal S. <kun...@gm...> - 2014-09-18 21:29:23
|
Hi Cobertura Devs, I have created a pull request for Issue # 144 (it's actually a feature request opened by me) to be reviewed by one of you. https://github.com/cobertura/cobertura/pull/144 I was wondering about the turn around time for that since I didn't find any specific information on github project wikis regarding the same. Thanks, Kunal |
From: Olivier R. <o.r...@gr...> - 2014-09-09 15:29:15
|
Sorry I've found the problem : I had two versions of the libraries "asm" in the classpath (3.3 and 4.1) and that was causing this IncompatibleClassChangeError Exception. |
From: Olivier R. <o.r...@gr...> - 2014-09-09 09:49:25
|
Hello, I've got the following error with the last 2.0.3 version of cobertura : [cobertura-instrument] 9 sept. 2014 10:52:14 net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler loadCoverageDataCobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-instrument] WARN instrumentClass, Unable to instrument file C:\devjava\workspace-hornet\applitutoriel_gfi_trunk\build\classes\fr\gouv\diplomatie\applitutoriel\business\bo\Civilite.class [cobertura-instrument] java.lang.IncompatibleClassChangeError: class net.sourceforge.cobertura.instrument.pass1.DetectIgnoredCodeClassVisitor has interface org.objectweb.asm.ClassVisitor as super class [cobertura-instrument] at java.lang.ClassLoader.defineClass1(Native Method) [cobertura-instrument] at java.lang.ClassLoader.defineClassCond(Unknown Source) [cobertura-instrument] at java.lang.ClassLoader.defineClass(Unknown Source) [cobertura-instrument] at java.security.SecureClassLoader.defineClass(Unknown Source) [cobertura-instrument] at java.net.URLClassLoader.defineClass(Unknown Source) [cobertura-instrument] at java.net.URLClassLoader.access$000(Unknown Source) [cobertura-instrument] at java.net.URLClassLoader$1.run(Unknown Source) [cobertura-instrument] at java.security.AccessController.doPrivileged(Native Method) [cobertura-instrument] at java.net.URLClassLoader.findClass(Unknown Source) [cobertura-instrument] at java.lang.ClassLoader.loadClass(Unknown Source) [cobertura-instrument] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) [cobertura-instrument] at java.lang.ClassLoader.loadClass(Unknown Source) [cobertura-instrument] at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:149) [cobertura-instrument] at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:121) [cobertura-instrument] at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.addInstrumentationToSingleClass(CoberturaInstrumenter.java:234) [cobertura-instrument] at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:298) [cobertura-instrument] at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:307) [cobertura-instrument] at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:399) [cobertura-instrument] at net.sourceforge.cobertura.instrument.Main.main(Main.java:421) Seems to be the same problem than theses threads : * http://stackoverflow.com/questions/23206356/getting-test-coverage-results-with-cobertura * http://www.coderexception.com/C166bb3uPXPWSXxS/getting-test-coverage-results-with-cobertura Note that the problem is a IncompatibleClassChangeError and not a ClassNotFoundException like in the proposal answer ! Please can you help ? |
From: J <mc...@gm...> - 2014-08-20 06:10:42
|
you can run it under maven, or you can run it from the command line. There are three phases: after you've compiled all your code, you run the instrumentation phase, whereby cobertura modifies the bytecode of the .class files. This produces a cobertura.ser file. Then you run the tests as you normally would, but with the cobertura jar and its dependencies on the classpath. This updates the cobertura.ser file with the coverage results. The reporting phase interprets the cobertura.ser and can print it out as either a .xml file or an html tree with the annotated sources. Look in a directory called executables in the cobertura distro, they have sample scripts for those phases. What build system are you using? On Tue, Aug 19, 2014 at 1:26 PM, Srikkanth Sundararajan <sri...@gm... > wrote: > Hi, > > Thanks for the quick response. Currently I'm not very familiar with the > code flow of cobertura. Is there a separate XML file that gets populated > as part of reporting phase? Explanation with any sample output would > really help. > > Thanks, > Srikkanth > > > On Mon, Aug 18, 2014 at 5:50 PM, J <mc...@gm...> wrote: > >> >> On Aug 18, 2014 1:28 PM, "Srikkanth Sundararajan" <sri...@gm...> >> wrote: >> > >> > Hi, >> > >> > I'm working in an IT organization and we started using Cobertura for >> identifying code coverage by out test cases. Following is our use case and >> we are trying to see if Cobertura can be helpful. >> > >> > Note: There are around 10,000 test cases available in our product. >> > 1. Automate a system where run each test case(T1,T2,T3...) against the >> product instrumented through cobertura and record the code >> coverage(something like T1 => ClassA => methodB => Line #5 , T2 => ClassB >> => MethodC => Line #10, and so on...) in a separate database. >> > >> > 2. Using the recorded information in the database, for any change made >> in the product code, we would identify what test cases would be impacted. >> > >> > With the above use case, I would like to know if Cobertura provides a >> way to retrieve the information about classes,methods and line #s hit after >> running a test case ? Is there an API that could be used to get that >> info? or Is there an internal database that could be queried? >> > >> >> The reporting phase can produce XML output that has all the information >> you need. The format is pretty obvious even if you don't know how to read >> the DTD. You can write a python program that parses it using lxml, convert >> it to your own schema and push it to the database of your choice. >> >> the previous two questions then devolve into database queries. >> >> > We appreciate any suggestions. >> > >> > Thanks, >> > Srikkanth >> > >> > >> ------------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > Cobertura-devel mailing list >> > Cob...@li... >> > https://lists.sourceforge.net/lists/listinfo/cobertura-devel >> > >> >> > |
From: Srikkanth S. <sri...@gm...> - 2014-08-19 17:26:37
|
Hi, Thanks for the quick response. Currently I'm not very familiar with the code flow of cobertura. Is there a separate XML file that gets populated as part of reporting phase? Explanation with any sample output would really help. Thanks, Srikkanth On Mon, Aug 18, 2014 at 5:50 PM, J <mc...@gm...> wrote: > > On Aug 18, 2014 1:28 PM, "Srikkanth Sundararajan" <sri...@gm...> > wrote: > > > > Hi, > > > > I'm working in an IT organization and we started using Cobertura for > identifying code coverage by out test cases. Following is our use case and > we are trying to see if Cobertura can be helpful. > > > > Note: There are around 10,000 test cases available in our product. > > 1. Automate a system where run each test case(T1,T2,T3...) against the > product instrumented through cobertura and record the code > coverage(something like T1 => ClassA => methodB => Line #5 , T2 => ClassB > => MethodC => Line #10, and so on...) in a separate database. > > > > 2. Using the recorded information in the database, for any change made > in the product code, we would identify what test cases would be impacted. > > > > With the above use case, I would like to know if Cobertura provides a > way to retrieve the information about classes,methods and line #s hit after > running a test case ? Is there an API that could be used to get that > info? or Is there an internal database that could be queried? > > > > The reporting phase can produce XML output that has all the information > you need. The format is pretty obvious even if you don't know how to read > the DTD. You can write a python program that parses it using lxml, convert > it to your own schema and push it to the database of your choice. > > the previous two questions then devolve into database queries. > > > We appreciate any suggestions. > > > > Thanks, > > Srikkanth > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Cobertura-devel mailing list > > Cob...@li... > > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > > > |
From: J <mc...@gm...> - 2014-08-19 00:50:58
|
On Aug 18, 2014 1:28 PM, "Srikkanth Sundararajan" <sri...@gm...> wrote: > > Hi, > > I'm working in an IT organization and we started using Cobertura for identifying code coverage by out test cases. Following is our use case and we are trying to see if Cobertura can be helpful. > > Note: There are around 10,000 test cases available in our product. > 1. Automate a system where run each test case(T1,T2,T3...) against the product instrumented through cobertura and record the code coverage(something like T1 => ClassA => methodB => Line #5 , T2 => ClassB => MethodC => Line #10, and so on...) in a separate database. > > 2. Using the recorded information in the database, for any change made in the product code, we would identify what test cases would be impacted. > > With the above use case, I would like to know if Cobertura provides a way to retrieve the information about classes,methods and line #s hit after running a test case ? Is there an API that could be used to get that info? or Is there an internal database that could be queried? > The reporting phase can produce XML output that has all the information you need. The format is pretty obvious even if you don't know how to read the DTD. You can write a python program that parses it using lxml, convert it to your own schema and push it to the database of your choice. the previous two questions then devolve into database queries. > We appreciate any suggestions. > > Thanks, > Srikkanth > > ------------------------------------------------------------------------------ > > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > |
From: Srikkanth S. <sri...@gm...> - 2014-08-18 17:27:12
|
Hi, I'm working in an IT organization and we started using Cobertura for identifying code coverage by out test cases. Following is our use case and we are trying to see if Cobertura can be helpful. Note: There are around 10,000 test cases available in our product. 1. Automate a system where run each test case(T1,T2,T3...) against the product instrumented through cobertura and record the code coverage(something like T1 => ClassA => methodB => Line #5 , T2 => ClassB => MethodC => Line #10, and so on...) in a separate database. 2. Using the recorded information in the database, for any change made in the product code, we would identify what test cases would be impacted. With the above use case, I would like to know if Cobertura provides a way to retrieve the information about classes,methods and line #s hit after running a test case ? Is there an API that could be used to get that info? or Is there an internal database that could be queried? We appreciate any suggestions. Thanks, Srikkanth |
From: J <mc...@gm...> - 2014-07-10 16:42:46
|
*bump* On Mon, Jul 7, 2014 at 8:07 PM, J <mc...@gm...> wrote: > in scala, *mypackage/src/scala/com/example/foo-bar-baz/Example.scala* may > contain > > *package com.example.titi.toto* > *class ExampleOne {* > * // methods called by the corresponding tests* > *}* > > The compiled .class file knows that it was compiled from something named > Example.scala, but the source is not in > com/example/titi/toto/Example.scala. > > how can I tell cobertura to look in the correct directory to find the > source file? > > Thanks > > > |
From: J <mc...@gm...> - 2014-07-08 00:07:30
|
in scala, *mypackage/src/scala/com/example/foo-bar-baz/Example.scala* may contain *package com.example.titi.toto* *class ExampleOne {* * // methods called by the corresponding tests* *}* The compiled .class file knows that it was compiled from something named Example.scala, but the source is not in com/example/titi/toto/Example.scala. how can I tell cobertura to look in the correct directory to find the source file? Thanks |
From: Stu A. <stu...@gm...> - 2014-06-23 21:36:28
|
Great, thanks very much. Stu. On 23 Jun 2014, at 22:13, John W. Lewis <Joh...@sa...> wrote: > Yes. You understand correctly. > > > -----Original Message----- > From: Stu Armitage [mailto:stu...@gm...] > Sent: Monday, June 23, 2014 4:08 PM > To: cob...@li... > Subject: [Cobertura-devel] branch and line rates in cobertura XML output > > Hi, > > I have a question on the line-rate and branch-rate attributes values in the coverage element node in the cobertura results xml document. > > I've reviewed the test DTDs and the mailing list archives, and I'm fairly convinced that I have understood the format correctly, but I would like to check and make sure. > > Please could you confirm that these rate numbers are formatted as decimal rather than percentage? > > e.g. 50% of lines covered would be expressed as ... line-rate="0.5" ... > > Thanks, > Stu. > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: John W. L. <Joh...@sa...> - 2014-06-23 21:13:34
|
Yes. You understand correctly. -----Original Message----- From: Stu Armitage [mailto:stu...@gm...] Sent: Monday, June 23, 2014 4:08 PM To: cob...@li... Subject: [Cobertura-devel] branch and line rates in cobertura XML output Hi, I have a question on the line-rate and branch-rate attributes values in the coverage element node in the cobertura results xml document. I've reviewed the test DTDs and the mailing list archives, and I'm fairly convinced that I have understood the format correctly, but I would like to check and make sure. Please could you confirm that these rate numbers are formatted as decimal rather than percentage? e.g. 50% of lines covered would be expressed as ... line-rate="0.5" ... Thanks, Stu. ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Stu A. <stu...@gm...> - 2014-06-23 20:08:04
|
Hi, I have a question on the line-rate and branch-rate attributes values in the coverage element node in the cobertura results xml document. I've reviewed the test DTDs and the mailing list archives, and I'm fairly convinced that I have understood the format correctly, but I would like to check and make sure. Please could you confirm that these rate numbers are formatted as decimal rather than percentage? e.g. 50% of lines covered would be expressed as ... line-rate="0.5" ... Thanks, Stu. |
From: J <mc...@gm...> - 2014-06-04 03:37:48
|
Ignore this. I'm clearly blind. --datafile On Tue, Jun 3, 2014 at 11:23 PM, J <mc...@gm...> wrote: > AFAICT, the location of cobertura.ser is determined by a property, not by > a command-line flag. Is this correct? Does anyone mind if I add a > command-line flag to all stages? > > Thanks > > .i. > |
From: J <mc...@gm...> - 2014-06-04 03:23:25
|
AFAICT, the location of cobertura.ser is determined by a property, not by a command-line flag. Is this correct? Does anyone mind if I add a command-line flag to all stages? Thanks .i. |
From: Lancer K. <Lan...@ya...> - 2014-05-26 06:04:54
|
Hi, I’m trying to address some performance problems of collecting code coverage on my instrumented code running on an embedded device. Is there a way to turn off line coverage (which instruments every line) and settle for method coverage? |
From: Lancer K. <Lan...@ya...> - 2014-05-23 09:45:38
|
I’m studying a problem where getting code coverage for my entire application during system testing is having terrible performance (worse than 20X). Other than excluding .class files and ignoring single line ctors, are there other levels of code coverage I can turn off, such as line by line metrics? Cheers, 康美国 Lance Kind Agile Development Coach 新浪微博: @康美国 WeChat:LancerKind1234 http://Twitter.com/LancerKind Mobile (086) 18606926591 North America VOIP (206) 866 5983 http://ConfessionsOfAnAgileCoach.blogspot.com http://ScrumNoir.com http://YouTube.com/user/LancerKind |
From: Lancer K. <Lan...@ya...> - 2014-05-23 09:41:34
|
Hi, I’m working on getting a code coverage report of my entire application during system test runs. At this point, I’m seeing crazy bad slowdown (> 20X) and I’m looking further into it (gathering coverage on a small set rather than the whole thing and seeing if there is something else I’ve done wrong). Can you set my expectations that code-coverage can typicaly be collected for an entire application (it has a UI, it runs on a linux kernel on some embedded hardware and touch-screen display) at some level of performance cost? Or is this a bad strategy. I’ve posted the question on StackOverflow. http://stackoverflow.com/questions/23820309/whats-the-performance-cost-of-using-cobertura-to-create-a-system-test-coverage 康美国 Lance Kind Agile Development Coach 新浪微博: @康美国 WeChat:LancerKind1234 http://Twitter.com/LancerKind Mobile (086) 18606926591 North America VOIP (206) 866 5983 http://ConfessionsOfAnAgileCoach.blogspot.com http://ScrumNoir.com http://YouTube.com/user/LancerKind |
From: aaditya p. <sup...@th...> - 2014-05-21 12:53:24
|
Hello, Please find my updated contact information. Lets stay in touch. http://new.intouchapp.com/register/0e49874961f6d9aeed652d7347d45c7167895429/?hide_mci=1 I am using IntouchApp to manage my contacts so we can stay in touch over time. When I make changes to my contact information, you will automatically see my updated information in your phone. If you join in, I will also have your latest contact info handy. I think this is really useful, and thought you might like it too. Regards, aaditya poodipeddi IntouchID: *pvaaditya1 Get IntouchApp on your mobile: http://www.intouchapp.com What is IntouchApp? Watch the magic: http://www.youtube.com/watch?v=bLF5k0esXXo Learn more: http://www.theIntouchId.com/learnmore |
From: Prafull C. <pra...@gm...> - 2014-05-14 05:39:52
|
Hi Team, I need help on below scenario with Tomcat container. I am using Corbetura-2.0.3 with java 1.7. 1. I have instrumented the application .war and deployed in Tomcat web container. 2. Added cobertura.ser file with code coverage (0%) 3. Added tag in batch file in tomcat catalina opts and -XX:-UseSplitVerifier -Dnet.sourceforge.cobertura.datafile=C:\Program Files\apache-tomcat-7.0.37\webapps\bin\cobertura.ser for execution. 4. Start the tomcat using startup.bat 5. Run the test cases. 6. Stop the tomcat using shutdown.bat 7. But now, the problem occurs.. After stopping the tomcat cobertura.ser doesn't update the result file with metadata for code coverage. Please provide help on below questions: 1. How i can get updated cobertura.ser result file after stopping tomcat? 2. What settings or parameters need to set in tomcat? Regards, Prafull Chauvhan |
From: John W. L. <Joh...@sa...> - 2014-05-13 10:02:15
|
It is part of the cobertura-report command: cobertura-report.bat [--datafile file] [--destination dir] [--format (html|xml)] [--encoding encoding] source code directory [...] [--basedir dir file underneath basedir ...] From: J [mailto:mc...@gm...] Sent: Monday, May 12, 2014 11:52 PM To: John W. Lewis Cc: Jagadishwar, Soumya; cob...@li... Subject: Re: [Cobertura-devel] Need info on instrumenting via command line Actually this was very helpful to me too. Thanks. I finally got some more time to play around with Cobertura, and I even managed to generate reports from the command line, but I'm still unable to link to the source files. The generated html sayd "Unable to locate com/foo/bar/Baz.java. Have you specified the source directory?" but I don't see any source directory option. I'm looking at the source code, and it seems like the source directory is automatically derived from the project tree structure. Is this correct? Thanks, Ina. On Wed, Apr 30, 2014 at 10:34 AM, John W. Lewis <Joh...@sa...<mailto:Joh...@sa...>> wrote: Try this: ./cobertura-instrument.sh --destination /ariba/9r2_sourcing/Instrument /ariba/9r2_sourcing/roots-S49r2/install/classes Make sure you don’t instrument classes twice (delete the contents of the instrument dir before the command). I would also delete the cobertura.ser file if it exists before instrumentation. From: Jagadishwar, Soumya [mailto:sou...@sa...] Sent: Tuesday, April 29, 2014 8:00 AM To: cob...@li...<mailto:cob...@li...> Subject: Need info on instrumenting via command line Hi, I am using Corbetura-2.0.3 with java 1.7 and I am trying to instrument the classes in our build system via command line. Stuck at instrumenting classes. Please assist. Here is the command: ./cobertura-instrument.sh --basedir /ariba/9r2_sourcing/roots-S49r2/install/classes/ariba.app.approvable.zip --destination /ariba/9r2_sourcing/Instrument -auxClasspath /ariba/9r2_sourcing/roots-S49r2/install/classes Wherein, /ariba/9r2_sourcing/roots-S49r2/install/classes/ariba.app.approvable.zip – zip containing classes which I would like to instrument /ariba/9r2_sourcing/Instrument – Folder to save instrumented classes /ariba/9r2_sourcing/roots-S49r2/install/classes – path where all other reference classes are present. Output: -bash-4.1$ ./cobertura-instrument.sh --basedir /ariba/9r2_sourcing/roots-S49r2/install/classes/ariba.app.approvable.zip --destination /ariba/9r2_sourcing/Instrument -auxClasspath /ariba/9r2_sourcing/roots-S49r2/install/classes Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file Apr 29, 2014 4:53:27 AM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler loadCoverageData INFO: Cobertura: Loaded information on 0 classes. Apr 29, 2014 4:53:27 AM net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler saveCoverageData INFO: Cobertura: Saved information on 0 classes. Also tried with : • ‘archivesdepth’ parameter as well; it gives the same above error. • I have updated the ‘cobertura-instrument.sh’ file with the right versions of jars present in Cobertura installed location. Thanks, Soumya ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Cobertura-devel mailing list Cob...@li...<mailto:Cob...@li...> https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Keith F. <fog...@ya...> - 2014-05-13 09:20:49
|
Hi Cobertura-developers, I was hoping you may be able to help. I'm working on a MSc. thesis and am looking to distinguish java Open Source Test-First/Test-Driven Development and Test-Last projects for a research experiment. To this end I was hoping that contributors to Cobertura would consider filling out the short linked survey (12 questions) for this project (or any other open source java project you are involved in)? My research will look at and compare design pattern usage in Test-First and Test-Last projects in relation to effectiveness and design quality. If you would be interested in learning more about the project or its findings please enter your details in the comment box on the survey and I will contact you once the project is complete. I intend to use the results of the survey solely for the purposes of the dissertation. Individual contributors will not be named in any reporting of the project. If you do not wish your project to be identified you can indicate so in the survey and its name will be masked. Many thanks in advance; your help is very much appreciated. Keith Fogarty Link to survey: https://docs.google.com/a/mydit.ie/forms/d/160CG5J_LJM3cAbSUrtfzka55vTrAeUwL4o-PvsY8Wkw/viewform Open Source Software Project Survey Hi, I was hoping you may be able to help me. I'm currently working on an M.Sc. Thesis and require a number of Test-First and Test-Last subject projects as part o... View on docs.google.com Preview by Yahoo |