I can run the compiled program java -cp out Main and it gives me the proper output
main(): running doSearch()...
main(): done
when I move onto the next step of including emmarun it gives me this output
EMMA: no coverage data collected at runtime [all reports will be empty]
EMMA: writing [txt] report to [/home/maria/Desktop/emma-2.0.5312/examples/coverage.txt] ... [EMMA v2.0, build 5312]
emmarun: [MAIN_METHOD_NOT_FOUND] application class [Main] does not have a runnable public main() method
I am wondering if anyone can shed any light on this error for me, I am new to CS and code coverage
THanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now maybe you did this but - did you instrument the program before trying to run it with EMMA? See Sections 2.1 and 2.2 of the EMMA User's Guide.
AND, did you download Version 2.1.5320? It works better than previous versions, especially when you get to doing large pieces of code with many classes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can run the compiled program java -cp out Main and it gives me the proper output
main(): running doSearch()...
main(): done
when I move onto the next step of including emmarun it gives me this output
EMMA: no coverage data collected at runtime [all reports will be empty]
EMMA: writing [txt] report to [/home/maria/Desktop/emma-2.0.5312/examples/coverage.txt] ...
[EMMA v2.0, build 5312]
emmarun: [MAIN_METHOD_NOT_FOUND] application class [Main] does not have a runnable public main() method
I am wondering if anyone can shed any light on this error for me, I am new to CS and code coverage
THanks!
Now maybe you did this but - did you instrument the program before trying to run it with EMMA? See Sections 2.1 and 2.2 of the EMMA User's Guide.
AND, did you download Version 2.1.5320? It works better than previous versions, especially when you get to doing large pieces of code with many classes.
I downloaded 2.1.5320 and I cant seem to find the example files to run the command line tutorial.
Was this ever fixed or resolved? i'm having this same problem -.-
Last edit: Bobby 2014-05-27