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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.146.65 with SMTP id ta1mr921159pab.19.1382087051301; Fri, 18 Oct 2013 02:04:11 -0700 (PDT) X-Received: by 10.182.75.232 with SMTP id f8mr13363obw.0.1382087051105; Fri, 18 Oct 2013 02:04:11 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!eu.feeder.erje.net!feeder.erje.net!us.feeder.erje.net!news.glorb.com!y3no76827017pbx.0!news-out.google.com!9ni52399qaf.0!nntp.google.com!i2no18701511qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 18 Oct 2013 02:04:10 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=130.243.94.123; posting-account=UDBgjwoAAAAUE-1xSPkEFlO9xPi_znRy NNTP-Posting-Host: 130.243.94.123 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4a87105b-cc34-4bcc-9981-90b2bc8711a8@googlegroups.com> Subject: AUnit harness project and directory structure From: Christoffer Holmstedt Injection-Date: Fri, 18 Oct 2013 09:04:11 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17457 Date: 2013-10-18T02:04:10-07:00 List-Id: I just started with Ada and AUnit. I really like the rationale behind Ada that you (and others) read the code more than you write code. One thing that I can't understand is the file/directory/project structure of test harnesses. 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? As an example I would like a structure as follows: project\ project\src project\src\PackageA project\tests project\tests\testPackageA Any guidance concerning the AUnit structure and best practice is much appreciated.