File: readme

package info (click to toggle)
libaunit 1.01-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 316 kB
  • ctags: 10
  • sloc: ada: 1,527; makefile: 77; sh: 1
file content (59 lines) | stat: -rw-r--r-- 2,059 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
AUnit 1.01 README
01 Feb 2001

This is a minor update release of the Ada unit test framework AUnit, derived 
from the JUnit framework for Java.  Read AUnit.html for usage.


Installation:

Unzip the archive into <install-dir>.  Build and run <install-dir>/aunit-1.0/test/harness.adb to verify that it works.


Directories contain the following:

aunit/*    - The framework and a simple text mode reporter of results.

template/* - Templates for unit tests, a test harness, and a GLIDE project
             file.
tests/*    - A set of unit tests for testing the framework itself (in progress)

Currently AUnit is written to work with the open source GNAT Ada compilation
system.  To that end, GLIDE project files have been provided.  For other 
compilation systems, the sources in aunit-1.0/aunit/* must be made accessible
to the compilation system according to its conventions.


Switches:

Any test harness using AUnit.Test_Results.Text_Reporter can be invoked with
the following command syntax:

test_harness [ -v | -V ]

-v : Verbose mode.  Lists all tests executed.  When not specified, only failed
     and error tests are listed.

Changes:
1.01	1. Added Test_Case'Class parameter to test routines, allowing access to
	Test_Case per-instance data.  This may be useful for derived Test_Case
	instances, as an alternative to using global package body data.

	2. Changed the profile of AUnit.Test_Runner to:
		procedure AUnit.Test_Runner (Timed : Boolean := True);
	This allows suppression of timing reporting so that the output
	of running a harness can be identical across runs.  Useful for
	scripted regression tests, where the output of a harness run is
	compared against a reference file.

	3. Implemented remaining memory management for the framework.  There
	should be no memory leaks now (checked with gnatmem).

	4. Corrected error in AUnit.Lists.Put_Right, where the list wasn't
	being chained correctly.

	5. Added Set_Up and Tear_Down routines to AUnit.Lists tests.

	6. AUnit is now integrated with Glide.

Maintainer: Ed Falis (falis@gnat.com)