Tool Information

Introduction

Tool Summary

Ahven is a simple unit test library (or a framework) for Ada programming language. It is loosely modelled after JUnit and some ideas are taken from AUnit. Ahven is free software distributed under permissive ISC license and should work with any Ada 95, 2005, or 2012 compiler.
New releases do not appear at SourceForge anymore, find new releases at http://ahven.stronglytyped.org/

Getting Started

Installation

Optionally, you need Sphinx and sphinxcontrib-adadomain (Python packages) to build the documentation and AdaControl to run coding style checks.

The default Makefile compiles code using gnatmake. Internally, gnatmake is given a GNAT project file, which works with GNAT GPL series and relatively recent FSF GNAT.

If you use another compiler, you need to customize the Makefile by yourself. Please note, that 'src' directory has platform specific subdirectories 'unix' and 'windows. You need to select the sources from one of them also.

Installation: GNAT

When using GNAT, simple make will compile the library.

Command make check will compile and run the unit tests.

If you want to build the API documentation, you need Sphinx tool. Command 'make docs' will build the API documentation.

Installation happens by typing make install or make PREFIX=/my/ada/code install. Alternatively, you can simply copy the source code directory ('src') to your project.

Installation: Janus/Ada

Build scripts for Janus/Ada are located in the 'janusada' directory. To compile the source code, you need to tweak file 'prepare.bat' and then run 'prepare.bat', 'update.bat', and 'compile.bat' from the top level directory. That is the same directory where this README.rst file is located.

Example:

janusada\prepare.bat
janusada\update.bat
janusada\compile.bat

When compilation is finished, you have tap_test.exe in the 'test_obj' directory.

The building on Linux using GNAT now happens with comfignat.mk Makefile template. Normal users should not see much changes, but distribution packagers should have better configuration options. The change was a wish from Fedora packagers. One of them, Bjorn Persson, contributed the comfignat scripts for Ahven.

Another change related change is that the documentation needs to be build using Sphinx. Previously, Ahven's release tarballs have included the prebuilt documentation, but this caused some problems for Debian developers because their packaging policy warns about prebuilt things.

Media & Files

Price Information

DISCLAIMER

In any case of miss-information between QATestingTools and the manufacturer call-center or website, the manufacturer price is the one you should take in consideration,the QATestingTools is NOT responsible for any miss-understanding or miss-information since we are NOT always informed on prices programs updates. In all cases please get more details from manufacturer.