From: "Peter C. Chapin" <pcc482719@gmail.com>
Subject: Re: Installing AUnit
Date: 17 Mar 2009 10:47:22 GMT
Date: 2009-03-17T10:47:22+00:00 [thread overview]
Message-ID: <Xns9BD14510CB8B7pcc482719gmailcom@198.186.192.137> (raw)
In-Reply-To: m_KdnXGtYsdx5CPUnZ2dnUVZ8jyWnZ2d@posted.plusnet
Tim Rowe <spamtrap@tgrowe.plus.net> wrote in
news:m_KdnXGtYsdx5CPUnZ2dnUVZ8jyWnZ2d@posted.plusnet:
> I'm trying to install AUnit. I've downloaded the sources, run
> doinstall.bat, accepted all the defaults and -- now what?
>
> The test code I'm developing falls over at:
> with Aunit.Test_Cases;
> because it can't find aunit.ads. Fair enough, I need to make it
> available, but searching my system...
You have to create your own aunit.ads. Its an instantation of
AUnit_Framework.Framework that is customized to your situation. For
example, in one of my projects I'm using this:
pragma Restrictions (No_Implicit_Dynamic_Code);
with AUnit_Framework.Framework;
package AUnit is new AUnit_Framework.Framework
(Max_Exceptions_Per_Harness => 5,
Max_Failures_Per_Harness => 20,
Max_Routines_Per_Test_Case => 50,
Max_Test_Cases_Per_Suite => 50);
The aunit.ads file is a source file in my project.
Peter
next prev parent reply other threads:[~2009-03-17 10:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 16:10 Installing AUnit Tim Rowe
2009-03-17 10:47 ` Peter C. Chapin [this message]
2009-03-18 17:48 ` sjw
2009-03-19 0:28 ` Tim Rowe
2009-03-19 0:46 ` Tim Rowe
2009-03-19 10:26 ` Peter C. Chapin
2009-03-19 11:52 ` Tim Rowe
2009-03-19 12:08 ` Martin
2009-03-19 13:17 ` Ludovic Brenta
2009-03-19 19:43 ` Martin
2009-03-19 15:46 ` Tim Rowe
2009-03-23 15:34 ` Tim Rowe
2009-03-27 10:31 ` Peter C. Chapin
2009-03-27 11:36 ` Tim Rowe
2009-03-27 19:55 ` sjw
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox