-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
-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
-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
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
> 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:
>
>
>
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
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
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
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
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
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
---
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
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
-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
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
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
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
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
>
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
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
---
>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
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 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
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
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
-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
-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
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
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
-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
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
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
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
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
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
-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
-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
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
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
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
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
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
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
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
44 matches
Mail list logo