[Mono-list] Test Cases

Marcin Szczepanski marcins@zipworld.com.au
Tue, 17 Jul 2001 09:25:23 +1000


In an email from Miguel the topic of naming and location of test cases
came up, I thought I'd repost that part of the email and my thoughts on
the subject to the list as I saw there has been some talk about test
cases:

> I had not thought about this.  What do you suggest?  We 
> should definetly standarize on this.  Maybe have things in a 
> separate directory?  Maybe Test-NAME.cs, maybe ClassTest.cs?

My idea would be to create a tree equivalent to the class library tree
for the tests. Ie:

Corlib\
	System\
	System.Text\
	[...]
Test\
	System\
	System.Text\
	[...]

And all the test cases go into the Tests tree, obviously.  ClassTest.cs
is probably good enough for the names, just to stop confusion between
test cases and library classes.  

Regards,
Marcin Szczepanski
marcins@zipworld.com.au