[ANN] Apache AntUnit 1.4.1 Released

2021-07-07 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Ant Team is pleased to announce the releases of Apache AntUnit 1.4.1. Apache AntUnit is an Antlib that provides a test framework for Apache Ant tasks and types. This release fixes the antlib.xml descriptor so that AntUnit now also works

[ANN] Apache AntUnit 1.4 Released

2018-06-25 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Ant Team is pleased to announce the releases of Apache AntUnit 1.4. Apache AntUnit is an Antlib that provides a test framework for Apache Ant tasks and types. This release fixes a few race-conditions in LogCapturer and the br-template

[ANN] Apache AntUnit 1.3 Released

2014-05-14 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache AntUnit Ant Library provides a test framework for Ant tasks and types. AntUnit 1.3 adds new assertions that deal with non-file resources better than the existing ones of 1.2 and provides additional access to the log created during tests

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: > > >

AntUnit Logging Query

2013-12-03 Thread Tennis.Smith
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 one long string. Entries are not separated by cr+lf. For example, if I have this in a test: The log will have: foobar How can I make the lines be s

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

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 resu

AntUnit and JunitReport incompatible?

2013-02-07 Thread RockyAllen
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 the problem is with the AntUnit listener

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

AntUnit - Using assertResourceExists to check URL

2012-06-07 Thread Pascal Schumacher
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 a URL exists. But I can't figure

[ANNOUNCE] Apache AntUnit 1.2 Released

2011-08-16 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Ant Team is proud to announce the 1.2 release of Apache AntUnit. AntUnit is a library of task and types for Apache Ant that can be used to perform functional tests using Ant build file. It is especially well suited to test Ant tasks and

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

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

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 ---

AW: AntUnit

2009-01-28 Thread Jan.Materne
>I mean a class implementing org.apache.tools.ant.BuildListener You dont add a BuildListener to a JUnit or AntUnit run. You will attach it to the whole build. For that use the -logger option of Ant. Jan - To unsubscribe

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 > > >>

AW: AntUnit

2009-01-28 Thread Jan.Materne
>> 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 > > classname="my.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 attribut

AntUnit

2009-01-27 Thread ext-simon.steiner
Hi, How can I run antunit with custom ant listeners enabled? Thanks - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

[ANN] Apache AntUnit 1.1 Released

2008-09-26 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today Apache AntUnit 1.1, an Ant-Library that supports testing of Ant tasks and build files has been released. AntUnit 1.1 fixes a few bugs of AntUnit 1.0 and adds a few new assertions. The most visible change is that listeners can now receive the

[ANN] Apache AntUnit 1.1 Beta 1 Released

2008-09-03 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Today the first beta of Apache AntUnit 1.1, an Ant-Library that supports testing of Ant tasks and build files has been released. AntUnit 1.1 fixes a few bugs of AntUnit 1.0 and adds a few new assertions. The most visible change is that listeners can

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 th

[AntUnit] Can I write the to a file?

2008-07-11 Thread Keith Hatton
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 documentation on the resource, and I obviously didn&#

[ANN] Apache AntUnit 1.0 Released

2007-01-08 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Ant Developer Team is proud to announce the 1.0 release of the Apache AntUnit Ant library. AntUnit provides Ant tasks that allow you to write (functional) tests in Ant build files. For example would assert that a

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 i

[antunit] antlib best practices

2007-01-01 Thread robert burrell donkin
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 file. ATM i'm using exec to call ant so that i

how to make effective use of AntUnit

2006-12-27 Thread matsuhashi
Hi, List. I am trying the AntUnit 1.0Beta2 with Ant1.7.0RC1. I want to know how to get access to the log messages emitted by tasks under the test especially when they terminated with BuildException. I made a test case build.xml which includes a fragment like the following

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

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

2006-11-06 Thread Stefano Marsili
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". I'd use it to import a file containing all the data needed by the test(s), without having to locate it with a relative path like "../../../common.xml". In my "buil

[ANN] Apache AntUnit 1.0 Beta 2

2006-10-29 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Ant Team has releases the second beta of Apache AntUnit. AntUnit is an Ant Library created to simplify testing of Ant tasks and types. This release fixes a few bugs found in the first beta and adds a new assertion that matches strings

[ANN] Apache AntUnit 1.0 Beta 1 Released

2006-09-21 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Ant Team is proud to announce the first Beta release of Apache AntUnit 1.0. AntUnit is an Ant Library - a library of tasks - that was initially developed to write tests for Ant tasks without resorting to JUnit. It makes it easy to turn an

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&#

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

Re: AntUnit tests need fully-qualified names

2006-02-28 Thread Stefan Bodewig
ully qualified class name than the file name - even a relative one. > P.S. I don't see any problem with separating (relative path to) > build file and target name. A (currently only fictuous) XML AntUnit formatter should be able to extract the project name, the file name of the bui

Re: AntUnit tests need fully-qualified names

2006-02-23 Thread Vishal Vishnoi
the system. In JUnit, the fully-qualified class name does not depend on the system. As AntUnit does great job so far mapping JUnit to Ant, it would be nice to have a mapping for the fully-qualified class name. Since Ant does not have a concept of classpath or package, one approach is using

RE: AntUnit tests need fully-qualified names

2006-02-23 Thread Vladimir Egorov
fully-qualified class name does not depend on the system. As AntUnit does great job so far mapping JUnit to Ant, it would be nice to have a mapping for the fully-qualified class name. Since Ant does not have a concept of classpath or package, one approach is using relative path to the build file

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

AntUnit tests need fully-qualified names

2006-02-22 Thread Vladimir Egorov
Hi All, The plainlistener that comes with AntUnit uses test target names as results names. Since two or more build files can define target named testFoo, this can lead to naming conflicts. JUnit has the same issue; it solves it by using fully-qualified test method names. Although one can