I have a sample code with me which compiles and runs properly on my windows machine. My sample code consist of simple .java file and after compilation i got .class file also. I need to do code coverage for that using cobertura.
I tried giving command as:
C:\Users\rk\workspace\CodeCoverage\cobertura-2.0.3>cobertura-instrument.bat --destination C:\Users\rk\workspace\CodeCoverage\src C:\Users\rk\workspace\CodeCoverage\bin
All the files related to cobertura are present at CodeCoverage folder, .java file is present at src folder and .class file is present at bin.
Can anyone help me in generating coverage reports. Thanks in advance.