Extending unittests [proposal] [Proof Of Concept]

Tobias Pankrath tobias at pankrath.net
Thu Sep 20 14:04:45 PDT 2012


On Thursday, 20 September 2012 at 16:52:40 UTC, Johannes Pfau 
wrote:
> snip

It should be possible to generate test cases programmatically [at 
compile time].

For instance if I have a program that reads files in format A and 
produces
B (e.g. a compiler) it should be possible to have a folder with 
both inputs and results and generate a test case for every 
possible input file.

(instead of one big testcase for every input file).








More information about the Digitalmars-d mailing list