[Mono-list] Help wanted: MCS compiler tests

Kunle Odutola kunle.odutola@virgin.net
Fri, 19 Jul 2002 02:36:40 +0100

> > If someone is interested, please let me know, any help would be
> > greatly appreciated.
> One other task that might be even more important is to write tests based
> on the spec.  Basically the process goes like this:

I think naming the files appropriately and commenting them thoroughly is
perhaps more important Miguel. The value of a test suite diminishes when no
one knows what is really being being tested without cross-ferencing each
test file to the ECMA spec.

>    For each bit of the spec, try to exercise the statement, write plenty
> of cases.  For each bit that is supposed to be prohibited, make a test
> that exposes this case, and put those as a negative test.
>    But basically, we need a better test suite than just the test we have
> been developing: we need a thorough set of tests.  There are commercial
> regression tests for the C# language, but they are too expensive, and
> they are not free either.