I am trying to Obtain Cobertura Code Coverage reports for a Jboss AS 7 Application.
I have properly Instrumented the app java artefacts and they all deploy fine.
But I am not able to get Cobertura to dump the Cobertura.ser report upon stopping the AS.
As mentioned in the Cobertura FAQ I have started the AS with -Djboss.shutdown.forceHalt=false but this has no effect. Any Clues what could be done … I have different test suites that I want to generate coverage reports so stopping the AS is my best option to dump the Cobertura.ser from it.
I am trying to Obtain Cobertura Code Coverage reports for a Jboss AS 7
Share
Assuming that you have troubles updating the run.bat file in your jboss-setup/bin folder,
can you replace the line
of run.bat file with the below line
I have assumed that ‘cobertura.ser’ is placed in your jboss-setup/bin folder.