Questions tagged [emmarun]

Emmarun application runner uses an instrumenting classloader to add bytecode instrumentation to Java classes as they are being loaded by the JVM

Emmarun application runner uses an instrumenting classloader to add bytecode instrumentation to Java classes as they are being loaded by the JVM. Code coverage has never been easier! This on-the-fly instrumentation mode is handy for light-weight testing of main() test methods, individual classes, and small- to- mid-size programs. emmarun also works well with Swing applications.

4 questions
2
votes
2 answers

emma - no runtime coverage data found

I can't define why emma isn't generating the runtime coverage data. What I'm forgetting when running the tests? based on the this post: How to change Ant script with EMMA code-coverage so it can find runtime coverage data? I put the instrumented…
1
vote
0 answers

Emma(Emmarun) is not working with java 8 .main class not found error

I am using Emmarun(java emmarun -cp . myApp.jar) to generate code coverage report for my project but its not working with java8. getting below error: EMMA: no metadata collected at runtime [no reports generated] [EMMA v2.1, build 5214…
1
vote
1 answer

Using emmarun (main method not found)

I have an ultra simple file in an empty directory: public class Test { public static void main(String[] args) { System.out.println("Test"); } } And the following works as expected javac Test.java java Test > Test I am on Mac OS X,…
Henry
  • 6,502
  • 2
  • 24
  • 30
0
votes
1 answer

Java 8: emmarun giving error 'MAIN_CLASS_NOT_FOUND'

I am trying to follow the guide from Emma docs: http://emma.sourceforge.net/userguide_single/userguide.html, but the command java emmarun -cp out Main gives me an error as below: emmarun: [MAIN_METHOD_NOT_FOUND] application class [Main] does not…
Dipankar Ghosh
  • 105
  • 1
  • 9