Apache AntUnit

Software Screenshot:
Apache AntUnit
Software Details:
Version: 1.3
Upload Date: 13 May 15
Distribution Type: Freeware
Downloads: 79

Rating: 1.0/5 (Total Votes: 1)

Apache AntUnit is merely a collection of Ant tasks that can be used to test itself.

These tasks are specially crafted to verify the integrity of an Ant build file and see if any tasks or procedures return errors or stop the process.

AntUnit is basically a unit tester for Ant files, a Apache Ant library inspired by JUnit.

More documentation can be found in the download package.

What is new in this release:

  • Fixed Bugs:
  • LogCapturer can now optionally add (platform dependent) line breaks between log messages that it records. The log related assertions and the logcontent resource have a new attribute "mergeLines" that controls the line breaks, it defaults to "true" - i.e. no line breaks - to preserve backwards compatibility.
  • Other Changes:
  • New assertion assertRefResourceExists, assertRefResourceDoesntExist, assertRefResourceContains, assertRefResourceDoesntContain, assertNestedResourceExists, assertNestedResourceDoesntExist have been added. These new assertions work for non-filesystem resources unlike their existing cousins of AntUnit 1.2.
  • A new AntUnitListener named "logforwarder" can be attached to forward any log output from the project under test to the project running the AntUnit task immediately.

What is new in version 1.2:

  • Fixed Bugs:
  • Default XSLT stylesheets now properly escape XML in exception stack traces.
  • assertPropertyContains was not checking the value of the property butthe name of the property.
  • Changes:
  • It is now possible to pass references from the build file containing the <antunit> task to the build files under test.
  • New assertion assertResourceExists and assertResourceDoesntExist havebeen added.
  • assertResourceContains now first validates that the given resource actually exists using assertResourceExists.
  • The XSLT stylesheets now create HTML files instead of plain text for logs sent to System.err and System.out.
  • Experimental JUnit3 and JUnit4 adapters allowing to launch AntUnit script from JUnit runner. The API of that code is not fixed and may change in future releases.

What is new in version 1.1:

  • In addition to a few bugfixes and some new assertions AntUnit 1.1 allows test listeners to receive the log output of the project under test. Both plainlistener and xmllistener have an option that makes them echo the project's output into their respective logs.

Requirements:

  • Apache Ant 1.7 or higher

Similar Software

Other Software of Developer Apache Software Foundation

Apache
Apache

17 Aug 18

Apache Syncope
Apache Syncope

10 Dec 15

Apache Tajo
Apache Tajo

10 Feb 16

Apache JMeter
Apache JMeter

12 Apr 15

Comments to Apache AntUnit

Comments not found
Add Comment
Turn on images!