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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,595c75298fbdce96 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Is Aunit helpful? Date: Thu, 05 Aug 2010 21:48:58 +0100 Organization: A noiseless patient Spider Message-ID: References: <8a1e58c0-2330-4475-8013-97df103dd85e@o19g2000yqb.googlegroups.com> <82r5ids1o9.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Thu, 5 Aug 2010 20:48:59 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="13365"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19B3qc/WDfsX2/0HO/j9KCV1wkkEJfajak=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:ulAscChZLC/zb12V4Jh2xPHq9+w= sha1:IzteVX1amUkJulyzi7dCHweFkgw= Xref: g2news1.google.com comp.lang.ada:12890 Date: 2010-08-05T21:48:58+01:00 List-Id: Ada novice writes: > I tried to look at the examples supplied in the aunit manual and they > aren't so straightforward to me. Are there other sources (on the web?) > that show how to use this testing tool? Or maybe I should just print > out the manual and read it carefully. I found the manual quite hard. And the sample code didn't quite gel for me. I've used it seriously -- at eg http://coldframe.cvs.sourceforge.net/viewvc/coldframe/coldframe/Event_Test.test/ The above doesn't have a Software Test Description, so you have to use your imagination; Harness is the main program, Suite calls up the test cases, Test_* are the test cases. But this isn't by any means the only organisation possible.