From: <Kar...@so...> - 2006-08-01 13:51:17
|
Is it possible to get Cobertura to report code coverage on junit tests = that need to be run inside an eclipse context, in my case junit tests = for eclipse plug-ins? I have no problems running eclipse plug-in junit = tests from command-line, but when adding the classpath and specifying = the datafile according to = (http://cobertura.sourceforge.net/commandlinereference.html = <http://cobertura.sourceforge.net/commandlinereference.html> ) the .ser = datafile does not change. Should this be possible to do, and if so, can = anyone point me in the right direction? =20 My junit tests are run from command line with: java -jar c:\eclipse\startup.jar -version 3 -application = org.eclipse.test.coretestapplication -dev bin -data = c:\eclipse\junit-workbench-workspace = formatter=3Dorg.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFo= rmatter,TESTs-result.xml -testPluginName com.myplugin.test -className = com.myplugin.test.AllTests -os win32 -ws win32 -arch x86 -debug -console =20 Thanks, Karl |