[Mono-list] TestSuite

Miguel de Icaza miguel@ximian.com
11 Oct 2001 17:54:20 -0400


> hmm, i am trying to write some TestSuites for the Crypto-Classes and i wonder 
> why everything is working fine :-).
> 
> Then i realized, that the TestSuite dont test the Mono implementation, 
> instead they test M$ own implementation :-).
> 
> I tried to make a reference to corlib.dll, but after that the Tests wont 
> compile anymore (too many warnings as it seems -> 1595).
> 
> Any idea how to fix this up?

Maybe we could compile the test against a specific file each time?

For example, to test class `System.Dum.DeDum', you would write:

	corlib/Dum/Tests/TestDeDum.cs
		Contains the test code.

	corlib/Dum/DeDum.cs
		Contains the implementation for `System.Dum.DeDum' 

Then we compile like this in corlib/Dum/Tests:

	csc TestDeDum.cs ..\\DeDum.cs

Miguel.