
Are there any good Unit Test frameworks for Ada? [closed]
Jul 14, 2012 · There are two open source JUnit-like unit testing frameworks around, AUnit and Ahven. AUnit is good if you use Ada 2005 and GNAT compiler family. Downside is that you …
Is there a way to test for the throwing of an exception in a Ada …
Nov 29, 2017 · I saw this question which uses the Ada unit test framework - in the present situation, that is not an option; however, I may re-work them to be able to use this (my …
Ada, check out my package. ("compilation unit expected"?)
Dec 16, 2010 · This is an imporant thing to note. gcc's Ada implementation takes the rather unusual step of forcing file names to match identifier names of the contents of the files. …
unit testing - Ada AUnit procedures Set_Up_Case and …
Jul 5, 2021 · I am making unit tests in an Ada application in an existing suite based on aunit. According to their documentation and code, the procedures: Set_Up_Case and …
Ada compilation "does not contain expected unit"
Mar 24, 2012 · usually occurs when the name of the unit does not match the file name (package body aaa.bbb needs to be in file aaa-bbb.adb and package aaa.bbb needs to be in aaa …
Compiling Ada with GCC - Stack Overflow
Aug 6, 2019 · Ada source files can be named anything at all. However, GNAT, a specific Ada compiler, unless explicitly told otherwise, expects a file to contain only a single compilation unit …
ada - Same Base Package in Multiple Linked GPRBuild Projects
Nov 2, 2018 · unit "base" cannot belong to several projects. The question is: is there a way to have the same base package in multiple projects? Projects that are then linked together …
gnat - Trying to use GPS for Ada and keep having problems trying …
Oct 24, 2022 · In general, for GNAT/GPS each Ada "compilation unit" must be in its own source file. (This is also good for version control and to reduce unnecessary recompilations.) The …
How to run two procedures in ada - Stack Overflow
Feb 20, 2015 · gnatchop -r -w -c allofit.ada && gnatmake -Ptest -m someunit.adb where someunit.adb is generated for compilation unit Someunit (a procedure, a package) contained …
Is is possible to have a child package as a separate compilation …
May 3, 2013 · The subtle difference is that child-packages are always a separately compiled unit (in GNAT they are always in a different file, this is an implementation restriction due to how …