[Mono-list] Jacks Compiler Test Suite

Alexander Klyubin klyubin@aqris.com
Sun, 18 Nov 2001 11:28:35 +0000


It is actully better if you have a comprehensive test suite before you 
have the code ready. This way you always know what still needs to be 
fixed. Furthermore, one can run the test suite against Microsoft's 
csc.exe and see how Mono C# compiler differs.

Alexander Klyubin

Miguel de Icaza wrote:

>>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.
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>