Apache AntUnit

Apache AntUnit

Apache Software Foundation
+
+

Related Products

  • QA Wolf
    270 Ratings
    Visit Website
  • Parasoft
    152 Ratings
    Visit Website
  • MuukTest
    34 Ratings
    Visit Website
  • Checksum.ai
    1 Rating
    Visit Website
  • Virtuoso QA
    131 Ratings
    Visit Website
  • Codemagic
    138 Ratings
    Visit Website
  • Astra Pentest
    295 Ratings
    Visit Website
  • Aikido Security
    239 Ratings
    Visit Website
  • Flagsmith
    43 Ratings
    Visit Website
  • Sendbird
    166 Ratings
    Visit Website

About

Initially all tests for Apache Ant tasks were written as individual JUnit test cases. Pretty soon it was clear that most tests needed to perform common tasks like reading a build file, initializing a project instance with it and executing a target. At this point BuildFileTest was invented, a base class for almost all task test cases. BuildFileTest works fine and in fact has been picked up by the Ant-Contrib Project and others as well. This approach has a couple of advantages, one of them is that it is very easy to translate an example build file from a bug report into a test case. If you ask a user for a testcase for a given bug in Ant, he now doesn't need to understand JUnit or how to fit a test into Ant's existing tests any more. AntUnit takes this approach to testing even further, it removes JUnit completely and it comes with a set of predefined <assert> tasks in order to reuse common kind of checks.

About

The toolkit is provided as a set of artifacts deployed to the Maven Central repository. It requires Java 7 or newer for test execution; tests must use JUnit or TestNG. For instructions on how to add the library to a Java project, see Running tests with JMockit. In this tutorial we examine the APIs available in the library, with the help of example tests (using Java 8). The central API - a single annotation - provides support for the automatic instantiation and initialization of the objects to be tested. Then we have the mocking API (also known as the "Expectations" API), intended for tests which use mocked dependencies. Finally, there is a small faking API (aka the "Mockups" API), which can be used for the creation and application of fake implementations that avoid the full cost of external components.

Platforms Supported

Windows Not Supported
Mac Not Supported
Linux Not Supported
Cloud Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Audience

Developers and individuals looking for a test framework for their Apache Ant tasks and types

Audience

DevOps teams looking for an Unit Testing solution

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

API

Offers API Not Supported

API

Offers API Supported

Screenshots and Videos

Screenshots and Videos

Pricing

No information available.
Free Version Not Supported
Free Trial Not Supported

Pricing

Free
Free Version Supported
Free Trial Not Supported

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Supported

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Company Information

Apache Software Foundation
Founded: 1999
United States
ant.apache.org/antlibs/antunit/

Company Information

JMockit
jmockit.github.io

Alternatives

AgitarOne

AgitarOne

Agitar Technologies

Alternatives

HUnit

HUnit

Hackage
Klaros-Testmanagement

Klaros-Testmanagement

verit Informationssysteme GmbH
Zephyr Squad

Zephyr Squad

SmartBear
HUnit

HUnit

Hackage

Categories

Software Testing Supported

Categories

Unit Testing Supported

Integrations

Beats Supported
Java Not Supported

Integrations

Beats Not Supported
Java Supported
Claim Apache AntUnit and update features and information
Claim Apache AntUnit and update features and information
Claim JMockit and update features and information
Claim JMockit and update features and information