From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f5bc,1d0b1da0843a9b79 X-Google-Attributes: gid10f5bc,public X-Google-Thread: 103376,1d0b1da0843a9b79 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,1d0b1da0843a9b79 X-Google-Attributes: gidf43e6,public From: mosley@tsd.itg.ti.com (Ray Mosley) Subject: Re: ANNOUNCE: `tg', a test driver generator for Ada programs Date: 1996/05/10 Message-ID: <4n0b31$s31@superb.csc.ti.com>#1/1 X-Deja-AN: 154187537 distribution: world references: organization: TI Telecom Systems newsgroups: comp.lang.ada,comp.software.testing,comp.software-eng Date: 1996-05-10T00:00:00+00:00 List-Id: In article , Andre Spiegel writes: |> `tg', a simple test driver generator for Ada programs, can now be |> found under the address ...snip |> tg is designed for the Ada programming language, but you can also use |> it for software written in other languages. You might even test |> binary programs with it, of which you don't have the source code at |> all. |> |> --------------------------------------------------------------------------- |> |> Here's a small example. Suppose you want to test an Ada function |> which counts the number of `&' characters within a given string. ...snip |> ***** Testing three ampersands in the middle... |> test Count := Count_Ampersand ("abc&&&abc"); |> pass Count = 3 |> |> The `tg' command translates this into code similar to that shown |> above and puts it into a complete driver program. |> |> --------------------------------------------------------------------------- Could you perhaps give some examples of other languages, like tcl itself, as well as C/C++?