From: Simon Wright <simon@pushface.org>
Subject: Re: AUnit
Date: 12 May 2001 18:31:58 +0100
Date: 2001-05-12T17:32:02+00:00 [thread overview]
Message-ID: <x7vsnia8odt.fsf@smaug.pushface.org> (raw)
In-Reply-To: uvgn9hxm9.fsf@wanadoo.fr
Pascal Obry <p.obry@wanadoo.fr> writes:
> To test units I've been using Test Driver Generator from Andre Spiegel.
>
> ftp://ftp.informatik.uni-stuttgart.de/pub/local/
>
> Latest version is 3.1.
We are evaluating this and AUnit (and a non-free tool, too). My
personal feeling is that TG stands a good chance.
A complete (short) script I'm using:
-- $Id: problem_reporting-component-test.ts,v 1.1 2001/04/22 10:49:46 simon Exp $
error_handling continue
context with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Architecture.Exceptions;
with Problem_Reporting.Component; use Problem_Reporting.Component;
***** (1) Create
define H : Problem_Reporting.Component.Handle;
N : Unbounded_String := To_Unbounded_String ("first");
test H := Problem_Reporting.Component.Create ((Id => N));
pass H /= null
cleanup Problem_Reporting.Component.Delete (H);
***** (2) Create twice
define H : Problem_Reporting.Component.Handle;
N : Unbounded_String := To_Unbounded_String ("first");
test H := Problem_Reporting.Component.Create ((Id => N));
H := Problem_Reporting.Component.Create ((Id => N));
pass exception Architecture.Exceptions.Duplicate
cleanup Problem_Reporting.Component.Delete (H);
(as it stands, this needs a patch to TG because of translating '-' to
'.' when converting the file name to the Ada name).
next prev parent reply other threads:[~2001-05-12 17:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010509194203.8E0BD190F2@ada.eu.org>
2001-05-10 11:08 ` AUnit Fredrik Thörnblad
2001-05-10 11:10 ` AUnit Ehud Lamm
2001-05-10 18:23 ` AUnit Pascal Obry
2001-05-12 17:31 ` Simon Wright [this message]
2001-05-13 8:10 ` AUnit Poutanen Olavi
2001-05-11 21:53 AUnit Ed Falis
2001-05-11 22:28 ` AUnit Pascal Obry
-- strict thread matches above, loose matches on Subject: below --
2001-05-09 18:56 AUnit Ehud Lamm
2001-05-10 10:56 ` AUnit Dr. Michael Paus
2001-05-10 11:11 ` AUnit Ehud Lamm
2000-11-19 0:00 AUnit Ed Falis
2000-11-19 0:00 ` AUnit Vincent Marciante
2000-11-20 5:06 ` AUnit Ed Falis
2000-11-20 0:00 ` AUnit Ed Falis
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox