Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 41427 invoked from network); 16 Apr 2002 17:36:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Apr 2002 17:36:21 -0000 Received: (qmail 17277 invoked by uid 97); 16 Apr 2002 17:36:16 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 17261 invoked by uid 97); 16 Apr 2002 17:36:16 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 17250 invoked from network); 16 Apr 2002 17:36:15 -0000 Message-ID: <47CE319ED137D411BDCE00D0B774BF5504D286EF@UNKNOWN.g1.com> From: "Mohamed, Haneef" To: "'ant-user@jakarta.apache.org'" Subject: jpcoverage/junit intergration: how do I capture junit coverage wi th with JProbe? Date: Tue, 16 Apr 2002 13:35:40 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1E56D.20C6CCE0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C1E56D.20C6CCE0 Content-Type: text/plain; charset="ISO-8859-1" Hello everyone! Here is the problem I am encountering: Aim To run junit tests and capture code coverage metrics with jprobe as part of the build process [pre-deployment] via ant What I have tried 1. tried to run junit as a nested element within jpcoverage -- failed 2. tried to do an 'antcall' to run junit -- failed 3. The only thing that worked [this is my fallback position] is to pass junit.textui.TestRunner, one arg at a time, each TestClass, passing one arg is shown below: Notes 1. Our junit testclasses do not have a main(...), that would have made my life a lot easier 2. I am appending the junit target at the end as well Any suggestions would be greatly appreciated. thanks, Haneef Mohamed ========= junit target ========= ------_=_NextPart_001_01C1E56D.20C6CCE0--