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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: AUnit harness project and directory structure Date: Fri, 18 Oct 2013 12:56:20 +0100 Organization: A noiseless patient Spider Message-ID: References: <4a87105b-cc34-4bcc-9981-90b2bc8711a8@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="7958ea92c2d947b309639deef600a8ff"; logging-data="19210"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197OEuaFXo5PHynTeZXGh1wX6/uaEAVeOU=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:noII9Dq2m3SoYi1+pWbDSn0oSPc= sha1:7cVYsaRbFPMYAqr0xQZ/hX6r73Y= X-Original-Bytes: 1767 Xref: number.nntp.dca.giganews.com comp.lang.ada:183655 Date: 2013-10-18T12:56:20+01:00 List-Id: Christoffer Holmstedt writes: > As an example I'm looking at the very basic "calculator" example that > comes with GNAT GPL. harness.gpr is put in the root folder and the > actual code that is to be tested is put in the tested_lib/ folder, > which is its own project. > > When I've used test frameworks in other languages (python/Java) I've > been able to completely move all test specific files out from the src/ > folder. Is this possible with AUnit? Certainly. See for example the structure at http://goo.gl/nUyYwY > Any guidance concerning the AUnit structure and best practice is much > appreciated. Not sure about best practice, but this sort of structure seems entirely natural to me.