dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Batch test example


From: Rob Savoye
Subject: Re: Batch test example
Date: Thu, 26 Feb 2004 19:04:45 -0700
User-agent: Mutt/1.2.5.1i

On Thu, Feb 26, 2004 at 02:39:57PM -0800, Raymond Law wrote:

> Can you give examples or basic structure of both?  I
> was searching for related examples but in vain.  The
> manual only lists the pass, fail, expected
> pass,...etc. calls for unit testing, but doesn't
> really show how to use them.

  Basically the unit testing API is a header file, dejagnu.h, that is a rough
API for instrumenting code. I use this alot for testing libraries. You get a
standardized output, which I then use DejaGnu to analyze and then do it's
higher level test analysis. I'll see if I can cobble up a short example from
my still unreleased project that does alot of unit testing. Some of this is
covered in the manual.

  Also all the GCC & Binutils testsuites are batch tests as well.

        - rob -




reply via email to

[Prev in Thread] Current Thread [Next in Thread]