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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!fx24.iad.POSTED!not-for-mail From: Shark8 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:32.0) Gecko/20100101 Thunderbird/32.0a1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How to test a library? References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Wed, 21 May 2014 20:32:19 UTC Organization: TeraNews.com Date: Wed, 21 May 2014 14:32:18 -0600 X-Received-Bytes: 1142 X-Received-Body-CRC: 399125778 X-Original-Bytes: 1383 Xref: number.nntp.dca.giganews.com comp.lang.ada:186548 Date: 2014-05-21T14:32:18-06:00 List-Id: On 21-May-14 13:34, Victor Porton wrote: > What is the correct way to test a (shared) library I am going to create? > > I assume there are special libraries for unit tests or something like this. > Where to get more info on this? > I don't know if there's an official way to do it; but what I'd be inclined to do is have a testbed-program (that tests all the [exported] subprograms of the library) and issues a report.