You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Janusz Dalecki (TYCO)" <jd...@tycoint.com> on 2002/10/02 07:48:56 UTC
JUnit swallows dots output
I have in junit task two formatters: one brief and one xml (shown below).
I am not getting the usual dots during execution of every single test case.
How can I switch it on?
Janusz
<junit printsummary="withOutAndErr" fork="yes" dir="${dist.server}/bin"
errorProperty="test.failed" failureProperty="test.failed">
<classpath refid="buildpath"/>
<classpath location="${emphome.build.lib}/system.jar"/>
<classpath location="${emphome.build.lib}/systemlog.jar"/>
<classpath location="${emphome.build.lib}/responsemanager.jar"/>
<classpath location="${emphome.build.lib}/xmlregistry.jar"/>
<classpath location="${emphome.build.lib}/situationmanager.jar"/>
<classpath location="${emphome.build.lib}/motorwaymodel.jar"/>
<classpath location="${emphome.build.lib}/sitemanager.jar"/>
<classpath location="${dist.server.lib}/Sprinta2000.jar"/>
<classpath location="${emphome.build.lib}/${ant.project.name}Tests.jar"/>
<classpath location="${dist.server}/config"/>
<classpath location="${src}/${package.tests.cfg}"/>
<sysproperty key="log.file.name.path"
value="C:\Odyssey-2.0\dist\server\log\sitemanager"/>
<jvmarg value="-Djava.compiler=NONE"/>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<test name="odyssey.sitemanager.tests.SiteManagerImplTest"
todir="${emphome.build.testreport}"/>
</junit>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JUnit swallows dots output
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
You mean the dots that appear when you run the textui runner? That does
not occur when you run through Ant's <junit>, although you should see
test feedback as the tests run.
Erik
Janusz Dalecki (TYCO) wrote:
> I have in junit task two formatters: one “brief” and one “xml (shown below).
> I am not getting the usual dots during execution of every single test case.
> How can I switch it on?
> Janusz
>
> <junit printsummary="withOutAndErr" fork="yes" dir="${dist.server}/bin"
> errorProperty="test.failed" failureProperty="test.failed">
> <classpath refid="buildpath"/>
> <classpath location="${emphome.build.lib}/system.jar"/>
> <classpath location="${emphome.build.lib}/systemlog.jar"/>
> <classpath location="${emphome.build.lib}/responsemanager.jar"/>
> <classpath location="${emphome.build.lib}/xmlregistry.jar"/>
> <classpath location="${emphome.build.lib}/situationmanager.jar"/>
> <classpath location="${emphome.build.lib}/motorwaymodel.jar"/>
> <classpath location="${emphome.build.lib}/sitemanager.jar"/>
> <classpath location="${dist.server.lib}/Sprinta2000.jar"/>
> <classpath location="${emphome.build.lib}/${ant.project.name}Tests.jar"/>
> <classpath location="${dist.server}/config"/>
> <classpath location="${src}/${package.tests.cfg}"/>
> <sysproperty key="log.file.name.path"
> value="C:\Odyssey-2.0\dist\server\log\sitemanager"/>
> <jvmarg value="-Djava.compiler=NONE"/>
> <formatter type="brief" usefile="false"/>
> <formatter type="xml"/>
> <test name="odyssey.sitemanager.tests.SiteManagerImplTest"
> todir="${emphome.build.testreport}"/>
> </junit>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Changing file permission on win2k
Posted by Jesse Stockall <je...@cryptocard.com>.
On Wed, 2002-10-02 at 08:00, Ori Burstein wrote:
> Hi,
> How can I change file permissions using Ant on Win2000?
There is no <chmod> equivalent for Window at the moment. Use <exec> and
call attrib, or cacls depending of which attributes / permissions you
want to change.
Jesse
--
Jesse Stockall
jesse@cryptocard.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Changing file permission on win2k
Posted by Ori Burstein <ob...@cisco.com>.
Hi,
How can I change file permissions using Ant on Win2000?
Thanks,
Ori.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JUnit swallows dots output
Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 2 Oct 2002, Janusz Dalecki <jd...@tycoint.com> wrote:
> I am not getting the usual dots during execution of every
> single test case.
I assume you are talking about the output of junit.textui.TestRunner?
Well, that is created by that TestRunner, Ant doesn't use this but a
TestRunner of its own. No dots with <junit> unless you write you own
<formatter> to create them.
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>