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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Parsing Ada? Date: Fri, 05 Jun 2015 09:02:07 +0100 Organization: A noiseless patient Spider Message-ID: References: <87pp5es5u4.fsf@adaheads.sparre-andersen.dk> <85mw0hte8w.fsf@stephe-leake.org> <8738282c2a.fsf@adaheads.sparre-andersen.dk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="2c7d8f71a176d2eaa78ec9fbd86e1d4a"; logging-data="29703"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+l64hC8m1xyXtOhw1Zh5gjaJ7zryqZI9I=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:XYTg+rm9Qre1w8pY5BBPFJorah4= sha1:IqajYmoA+2qv8hnuse5hGZR+vDQ= Xref: news.eternal-september.org comp.lang.ada:26188 Date: 2015-06-05T09:02:07+01:00 List-Id: Jacob Sparre Andersen writes: > - The functions to call for converting the formal parameter type to > and from type String. This is going to be tricky to automate! It's not directly related, but you might be interested in my Scripted Testing package[1]. It's really aimed at a design involving code generation, at least of frameworks[2], where the software under test is built on lower-level "domains", which can be automatically generated as stubs, and results in a Tcl interpreter which extends the Tcl language with application-related commands. As an example of a script (much more verbose than would be usual!) see [3]. I can thoroughly recommend a scripted approach to testing, at the point where you're doing black-box testing of functionality; it's very easy to generate a test case that demonstrates a reported failure and can then be used to confirm the correction. [1] https://sourceforge.net/projects/scriptedtesting.coldframe.p/ [2] http://coldframe.sourceforge.net/coldframe/stubs.html [3] https://sourceforge.net/p/coldframe/code/ci/default/tree/examples/h.tcl