[Mono-list] Jacks Compiler Test Suite

Miguel de Icaza miguel@ximian.com
18 Nov 2001 00:37:28 -0500


> I'm not aware of any such project for C# compiler. But, at first one can 
> probably borrow many test cases from Jacks test suite and use them in 
> Mono C# compiler test suite. Manual inspection and modification of tests 
> will be required because those are Java tests. But I believe Mono #C 
> compiler coould import at least thousand tests or so. Additionally, if 
> might be a good idea to start a separate (sub)project for this. Because 
> having such a freely available and large test suite pays for other 
> projects creating C# compiler or parser.

Thanks for the pointer.  I agree, on the long term we probably should
take this as a reference.  

Currently our test suite is limited as the compiler is still not
finished, so we can not exercise as much of the language as we would
like to.

Once the compiler is "ready", we could definitely port the tests from
Jacks.

The Mono compiler also comes with two kinds of test suites: those tests
that should compile, execute and produce a specific result, and those
tests that expect the compiler to trigger a compile error.

miguel.