A new test framework: request for comments and testing

Bernhard Reiter bernhard at intevation.de
Fri May 6 14:55:08 CEST 2016


Am Mittwoch, 4. Mai 2016, 17:53:58 schrieb Werner Koch:
> On Wed,  4 May 2016 16:11, bernhard at intevation.de said:
> > Okay, it is online here https://mitpress.mit.edu/sicp/,
> > but sorry this is not a modern tutorial nor a good documentation
> > of TinyScheme.
> 
> You do not need a documentation for TinyScheme but for our test
> framework.  There has been none for the current /bin/sh based tests and
> thus the switch does not change the status of the documentation for
> those new to the code.

I agree that a documentation for the test framework would be helpful.

I my experience I sooner or later need a documentation 
of the language as well, because writing a test often requires to think 
about boundaries and those can be best seen from a language description.

As for the test frame work: You could use a C test unit as well, but if 
you go with a dynamic language, Lua is in the same size league
and a lot more maintained, documented and approachable.

> > Compare this to TinyScheme, to be fair I include the reg exp and date
> > 
> > extensions:
> >   54k Mai  4 15:56 re-1.3.tar.gz
> 
> We don't need them.

Sooner or later a test will require advanced pattern matching.

> > sloccount gives me almost 10k lines of code,
> 
> 5000 lines.

a bit below 10000 lines for all three packages.
Compared to the 24k lines for Lua.

You've asked for feedback, 
so I've pointed out the drawbacks see with TinyScheme.

Best Regards,
Bernhard

-- 
www.intevation.de/~bernhard (CEO)    www.fsfe.org (Founding GA Member)
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner



More information about the Gnupg-devel mailing list