Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 88007 invoked from network); 15 Jan 2005 13:07:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jan 2005 13:07:42 -0000 Received: (qmail 94633 invoked by uid 500); 15 Jan 2005 13:07:34 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 94547 invoked by uid 500); 15 Jan 2005 13:07:33 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 94531 invoked by uid 99); 15 Jan 2005 13:07:33 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp-vbr15.xs4all.nl (HELO smtp-vbr15.xs4all.nl) (194.109.24.35) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 15 Jan 2005 05:07:33 -0800 Received: from k8l.lan (porta.xs4all.nl [80.127.24.69]) by smtp-vbr15.xs4all.nl (8.12.11/8.12.11) with ESMTP id j0FD7U5s055730 for ; Sat, 15 Jan 2005 14:07:30 +0100 (CET) (envelope-from paul.elschot@xs4all.nl) From: Paul Elschot To: user@ant.apache.org Subject: Enabling assertions without forking for each test. Can I fork junit itself? Date: Sat, 15 Jan 2005 14:07:30 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501151407.30035.paul.elschot@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Good day, I'd like to have jvm assertions enabled without forking a jvm for each junit test to speed up testing. This might be possible by forking junit with the -ea:my.package... option, but I don't know how to do that. Is it possible to fork junit itself, instead of each test case? Or is there an easier way? Regards, Paul Elschot P.S. This is the junit target from the build.xml file that I'm using: (I added a star before the testcase name, which works nicely: ) Tests failed! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org