| 1 |
AUnit README |
| 2 |
|
| 3 |
This is the Ada unit test framework AUnit, derived |
| 4 |
from the JUnit/CPPUnit frameworks for Java/C++. Read the AUnit Cookbook, |
| 5 |
available in doc/ in a number of formats, for installation and usage. |
| 6 |
|
| 7 |
AUnit is maintained by AdaCore. Please report problems at [email protected] |
| 8 |
|
| 9 |
NOTE FOR CONTRIBUTORS |
| 10 |
--------------------- |
| 11 |
|
| 12 |
AUnit is intended to be used on bareboard targets that have a very |
| 13 |
limited runtime library, so many things like containers, finalization, |
| 14 |
exception propagation and so on cannot be used in the main framework |
| 15 |
unconditionally. For full list of restrictions see following parts of |
| 16 |
GNAT User’s Guide Supplement for Cross Platforms: |
| 17 |
|
| 18 |
* [4.2.2. Ada Restrictions in the Zero Footprint Profile](http://docs.adacore.com/live/wave/gnat_ugx/html/gnat_ugx/gnat_ugx/the_predefined_profiles.html#ada-restrictions-in-the-zero-footprint-profile) |
| 19 |
|
| 20 |
* [4.2.3. Predefined Packages in the Zero Footprint Profile](http://docs.adacore.com/live/wave/gnat_ugx/html/gnat_ugx/gnat_ugx/the_predefined_profiles.html#predefined-packages-in-the-zero-footprint-profile) |
| 21 |
|
| 22 |
Other language features and predefined packages may be used in conditional |
| 23 |
way, by either providing the same API across different scenarios or adding |
| 24 |
new units for full runtime scenario only. An example of such conditional usage |
| 25 |
is FileIO variable from lib/gnat/aunit_shared.gpr that selects between |
| 26 |
include/aunit/framework/fileio and include/aunit/framework/nofileio. |