Category Archives: test coverage tools

Error in Emma using ant

scmuser created the topic: Error in Emma using ant Hi, During offline mode, I am getting folllowing error using EMMA and ant… taskdef A class needed by class com.vladium.emma.emmajavaTask cannot be found: org/apache/tools/ant/taskdefs/Java Any Help?

Ant script with EMMA code-coverage

scmuser created the topic: Ant script with EMMA code-coverage Ant script with EMMA code-coverage so it can find runtime coverage data? processing input file […NetBeansProjects/Tetris3/build/metadata.emma] … loaded 25 metadata entries 1 file(s) read and merged in 5 ms nothing to do: no runtime coverage data found in any of the data files

Jar instrumentation using Emma

scmuser created the topic: jar instrumentation using Emma Hi, I am just referring following url emma.sourceforge.net/faq.html#q.runtime.appservers and trying to instrument jar directly instead of class files. Is there any different process for instrumenting jar files? scmuser replied the topic: Re:jar instrumentation using Emma I found some useful info below….

Instrument Jar file issues

scmuser created the topic: Instrument Jar file issues Hi, i am instrumenting jar file using following script… But I am getting following error during execution…. [instr] processing instrumentation path … [instr] package [org/w3c/dom] contains classes [DOMException] without full debug info [instr] package [org/w3c/tidy] contains classes [AttrCheckImpl$CheckAlign] without full debug info [instr] package [org/xml/sax] contains classes… Read More »

Com.vladium.emma.EMMARuntimeException

scmuser created the topic: com.vladium.emma.EMMARuntimeException Hi, I have J2EE application. Whenever I am trying to instrument my jar file, I am getting following Error… Any Help on this com.vladium.emma.EMMARuntimeException: com.vladium.emma.EMMARuntimeException

Instrument class files from all subdirectory

rajeshkumar created the topic: instrument class files from all subdirectory Hi, is there any possibilities to instrument classes from all sub-directory instead of single class directory? Any sample code? Regards, Rajesh Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

Java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT

rajeshkumar created the topic: “java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT” I got sometime following error while using emma… “java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT” Solution can be found in… devnet.jetbrains.net/thread/275232 Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

Ant Example code for Emma Instrumentation and reports

rajeshkumar created the topic: Ant Example code for Emma Instrumentation and reports In-place instrument a certain subset of already compiled classes using overwrite mode and several coverage filters: Don’t overwrite compiled classes that later need to go into official release jars (stay in copy mode). However, use incremental instrumentation for fast personal testing: Take all… Read More »