You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jacqui Guerrero <ja...@groxis.com> on 2003/06/28 00:24:47 UTC
${junit.fork}
Does anyone know what fork=${junit.fork} does when used in a junit task:
<junit fork=${junit.fork}>
How is this different than <junit fork="yes">?
Thanks,
Jacqui
-----Original Message-----
From: Jacqui Guerrero [mailto:jacqui@groxis.com]
Sent: Thursday, June 26, 2003 12:39 PM
To: Ant Mailing List
Subject: FW: Question on logging
Okay, below is the verbose output for one test:
[junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
[junit] 'com.groxis.test.product.grokker.MyFilesPluginTest'
[junit] 'filtertrace=true'
[junit] 'haltOnError=false'
[junit] 'haltOnFailure=false'
[junit]
'formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnit
ResultFormatter'
[junit] 'showoutput=false'
[junit]
'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResu
ltFormatter,D:\Projects\Grokker\test\reports\TEST-com.groxis.test.product.gr
okke
r.MyFilesPluginTest.xml'
[junit] 'propsfile=D:\Projects\Grokker\junit1328172904.properties'
[junit]
[junit] The ' characters around the executable and arguments are
[junit] not part of the command.
One thing I notice is that my basedir: D:\Projects\Grokker is not my current
working directory. Is it necessary to have the junit...properties file
stored in same place as the log files? Also, regarding the forking, I need
to fork each test because I am testing against a Swing application which
requires separate event queues and such.
I can't seem to figure out why nothing is written to the TEST-*.xml files
when the test passes! Anyone????
Below are my ant specs:
Apache Ant version 1.5.2 compiled on February 28 2003
Buildfile: BasicAcceptanceTests.xml
Detected Java version: 1.4 in: c:\j2sdk1.4.1_02\jre
Detected OS: Windows 2000
parsing buildfile BasicAcceptanceTests.xml with URI =
file:D:/Projects/Grokker/t
est/scripts/BasicAcceptanceTests.xml
Project base dir set to: D:\Projects\Grokker
[property] Loading D:\Projects\Grokker\test\scripts\runbasictest.properties
Build sequence for target `runtests' is [init, runtests]
Complete build sequence is [init, runtests]
Thanks,
Jacqui
-----Original Message-----
From: Nathan Christiansen [mailto:Nathan_Christiansen@tni.com]
Sent: Thursday, June 26, 2003 12:08 PM
To: jacqui@groxis.com
Subject: RE: Question on logging
Mine are older than yours. (9 July 2002)
There are only two things that you are doing that are different from the way
I do it. One, you are forking the VM with <jvmarg>. And two, you are calling
each test separately instead of using <batchtest>.
Have you tried running ant in verbose mode to see more of what it is doing?
(ant -v)
Other than that I don't have any more suggestions. I'm stumped.
-- Nathan Christiansen
Tahitian Noni International
http://www.tahitiannoni.com
-----Original Message-----
From: Jacqui Guerrero [mailto:jacqui@groxis.com]
Sent: Thursday, June 26, 2003 12:53 PM
To: Nathan Christiansen
Subject: RE: Question on logging
The printsummary change did not fix it. Perhaps I have old .jar files? What
is the date of your optional.jar file? Mine is 10/2/2002? Perhaps I should
download the latest?
Thanks,
Jacqui
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org