From: Mark D. <Mar...@sa...> - 2005-07-25 20:04:20
|
It pretty much sounds like you're doing everything correctly, I'm not = sure why it doesn't work. In step 6, you shut down the Servlet = container JVM and not the one running the unit test cases, right? =20 -Mark ________________________________ From: cob...@li... = [mailto:cob...@li...] On Behalf Of = li...@sd... Sent: Monday, July 25, 2005 9:27 AM To: cob...@li... Subject: [Cobertura-devel] Coverage Report for J2EE App using cobertura Importance: High =09 =09 Hi All,=20 I'm wondering if I can generate the report for J2EE application, for my = case Web Service app using Apache Axis 1.2. The following is what I did = do far: 1: Instrumented all the class file to be packaged=20 2: Package the classes with dependencies as a EAR file=20 3: Deploy the EAR file=20 4: Start the Servlet container JVM with the following parameter:=20 -Dnet.sourceforge.cobertura.datafile=3DC:\worker\cobertura.ser=20 5: Run Unit test cases against the Web service application=20 6: Shut down the JVM=20 But I did not get the cobertura.ser file to generate the report. Any = idea?=20 Thanks in advance=20 Li=20 |