[dmd-internals] dmd commit, revision 657

Walter Bright walter at digitalmars.com
Fri Sep 3 08:41:42 PDT 2010



Jason House wrote:
>
>
> I guess I shouldn't mix discussing benefits and methodology together. I believe a test driven development approach would result in more tests getting written. After a feature is coded, it's too easy to forget adding a test, or simply not write as many tests as needed to stress the feature.
>
>
>   

There's no doubt there are not nearly enough tests written in advance.

One thing that would help enormously is compiling dmd on linux with 
gcov, running the test suite, and then look at the results to see what 
parts of dmd were never executed. Those parts (obviously) need test cases.


More information about the dmd-internals mailing list