RE: AntUnit Logging Query

2013-12-03 Thread Tennis.Smith
I've tried adding the "eol" keyword (specifically eol="dos") to concat. No difference. -T -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, December 03, 2013 8:46 To: Ant Users List Subject: RE: AntUnit Logging Query

RE: AntUnit Logging Query

2013-12-03 Thread Martin Gainty
> From: tennis.sm...@navis.com > To: user@ant.apache.org > Date: Tue, 3 Dec 2013 18:39:25 +0200 > Subject: AntUnit Logging Query > > Hi, > > I have a routine in 'tearDown' which uses concat to place the test logs in a > file: > > > > > This works. But, everything in the log is on

Re: AntUnit and JunitReport incompatible?

2013-02-08 Thread RockyAllen
Thanks, I think I have it now: For Junit you run JUnitReport which aggregates the TEST-* files into a TESTS- file, then converts that into HTML. For Ant-Unit you still use JUnitReport to aggregate the TEST-* files from AntUnit, but then use the etc/junit-noframes.xsl from the AntUnit distribution t

Re: AntUnit and JunitReport incompatible?

2013-02-07 Thread Stefan Bodewig
On 2013-02-07, RockyAllen wrote: > When I use the built in XML Listener with AntUnit 1.2, JUnitReport (from > Ant 1.8.2) cannot read the output log file properly. Test names and > failure reports are included, but not times, and the top line summary > does not include the AntUnit results. I think

Re: AntUnit - Using assertResourceExists to check URL

2012-06-08 Thread Stefan Bodewig
On 2012-06-08, Pascal Schumacher wrote: > I opened a bugzilla issue: > https://issues.apache.org/bugzilla/show_bug.cgi?id=53383 Great, thanks Stefan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additiona

Re: AntUnit - Using assertResourceExists to check URL

2012-06-08 Thread Pascal Schumacher
Hello Stefan, thanks for the quick response. :-) I opened a bugzilla issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=53383 Pascal -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ---

Re: AntUnit - Using assertResourceExists to check URL

2012-06-07 Thread Stefan Bodewig
On 2012-06-07, Pascal Schumacher wrote: > Hello everybody, > according to the AntUnit 1.2 documentation > "assertResourceExists > Asserts that a given resource exists. This is a generalization of > assertFileExists and allows to test for arbitrary resources." > it should be possible to check if

Re: AntUnit

2009-01-30 Thread Stefan Bodewig
On 2009-01-28, wrote: > The listener needs to know what targets are being executed so having > the log output is no help. which test target or any other target as well? In the former case you could still implement your AntUnit listener, in the later case we really have a use case that isn't cov

RE: AntUnit

2009-01-28 Thread ext-simon.steiner
Hi, The listener needs to know what targets are being executed so having the log output is no help. Thanks > -Original Message- > From: ext Stefan Bodewig [mailto:bode...@apache.org] > Sent: 28 January 2009 16:16 > To: user@ant.apache.org > Subject: Re: AntUnit &g

Re: AntUnit

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, wrote: > We are testing something that requires the listener to be > running. Listeners don't seem to run when calling antunit This is true. The project instance running the AntUnit test target doesn't have any BuildListeners attached to it (other than AntUnit's own listeners, th

RE: AntUnit

2009-01-28 Thread ext-simon.steiner
Hi, We are testing something that requires the listener to be running. Listeners don't seem to run when calling antunit or . Thanks > -Original Message- > From: ext Stefan Bodewig [mailto:bode...@apache.org] > Sent: 28 January 2009 13:29 > To: user@ant.apache.org >

Re: AntUnit

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, wrote: > I mean a class implementing org.apache.tools.ant.BuildListener you don't, like has a different listener concept of its own. What are you trying to do that doesn't work as you'd want it to? Stefan - T

Re: AntUnit

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, wrote: >> file:///C:/OSS/ant/docs/manual/develop.html#writingowntask > Because I am sure you dont have access to Stefans computer, here the > official link ;-) > http://ant.apache.org/manual/develop.html#writingowntask Ouch, thanks ;-) Stefan ---

RE: AntUnit

2009-01-28 Thread ext-simon.steiner
Hi, I mean a class implementing org.apache.tools.ant.BuildListener Thanks > -Original Message- > From: ext jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] > Sent: 28 January 2009 12:22 > To: user@ant.apache.org > Subject: AW: AntUnit > > >> How can I run antunit with custo

Re: AntUnit

2009-01-28 Thread Stefan Bodewig
On 2009-01-27, wrote: > How can I run antunit with custom ant listeners enabled? A "custom Ant listener" is a class implementing org.apache.ant.antunit.AntUnitListener? If so, use to give a symbolic name to your custom listener, say and maybe throw in classpath attributes and an uri. After

Re: [AntUnit] Can I write the to a file?

2008-07-11 Thread Stefan Bodewig
On Fri, 11 Jul 2008, Keith Hatton <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to use the AntUnit framework to test some custom Ant > tasks. Unfortunately it's proving very much a black box, and when a > test fails I can't find any Ant log for the test case. I've read the > AntUnit docum

Re: [antunit] antlib best practices

2007-01-01 Thread Peter Reilly
On 1/1/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: i'm using ant 1.7.0 and antunit to integration test a antlib task. the tests are factored into separate build scripts. these run fine individually but i'd like to include them in a comprehensive build-and-test target in a master build fi

Re: AntUnit: pass parameters to a xxx-test.xml?

2006-11-06 Thread Stefan Bodewig
On Mon, 6 Nov 2006, Stefano Marsili <[EMAIL PROTECTED]> wrote: > Hi, I'd like to use ant-unit in my test cases and wondered if there > is a way to pass parameters (as properties?) to an "xxx-test.xml". The AntUnit task supports a nested propertyset, this is what you'd use. Stefan --

Re: AntUnit tests need fully-qualified names

2006-02-28 Thread Vishal Vishnoi
Stefan Bodewig wrote: On Thu, 23 Feb 2006, Vishal Vishnoi <[EMAIL PROTECTED]> wrote: Thus, the above can be the default, as it's simple and work for most people. AntUnit should consider providing an attribute which make naming a combination of project and target name. Here's an example

Re: AntUnit tests need fully-qualified names

2006-02-28 Thread Stefan Bodewig
On Thu, 23 Feb 2006, Vishal Vishnoi <[EMAIL PROTECTED]> wrote: > Thus, the above can be the default, as it's simple and work for most > people. AntUnit should consider providing an attribute which make > naming a combination of project and target name. Here's an example > > I'd rather want to m

Re: AntUnit tests need fully-qualified names

2006-02-28 Thread Stefan Bodewig
On Thu, 23 Feb 2006, Vladimir Egorov <[EMAIL PROTECTED]> wrote: > The absolute path to build file depends on the system. Agreed. > In JUnit, the fully-qualified class name does not depend on the > system. I'm with Vishal here, the project name probably maps better to the fully qualified class n

Re: AntUnit tests need fully-qualified names

2006-02-23 Thread Vishal Vishnoi
To: user@ant.apache.org Subject: Re: AntUnit tests need fully-qualified names On Wed, 22 Feb 2006, Vladimir Egorov <[EMAIL PROTECTED]> wrote: The plainlistener that comes with AntUnit uses test target names as results names. The plainlistener is more or less just a proof of concept.

RE: AntUnit tests need fully-qualified names

2006-02-23 Thread Vladimir Egorov
dimir P.S. I don't see any problem with separating (relative path to) build file and target name. -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 9:16 PM To: user@ant.apache.org Subject: Re: AntUnit tests need fully-qualified names

Re: AntUnit tests need fully-qualified names

2006-02-22 Thread Stefan Bodewig
On Wed, 22 Feb 2006, Vladimir Egorov <[EMAIL PROTECTED]> wrote: > The plainlistener that comes with AntUnit uses test target names as > results names. The plainlistener is more or less just a proof of concept. When I put it together I needed someting to quickly show to myself that AntUnit really