[Mono-devel-list] Re: [mono-vb] [RFC] MBAS Compiler Test Suite

Jambunathan Jambunathan kjambunathan at novell.com
Thu Aug 12 12:08:25 EDT 2004


> I like it. But what about the expected behaviour/output of the generated
> program?

A most important thing I missed. I will surely document this in README.

"All positive test cases should test for the expected behaviour and throw an 
exception otherwise."

I had two opinions in this front:

1) All existing test cases will be executed as "mono positive-test-case.exe"
2) All new test cases would preferably written as a NUnit case.

To distinguish between the two, positive test cases can include a

REM TestDriver: NUnit 

so that these test cases are executed against NUnit.

Thanks a lot for taking time off to comment. Do you have any specific
opinions on this.

Regards,
Jambunathan K.



>>> "Rodrigo B. de Oliveira" <rbo at acm.org> 8/12/2004 5:08:59 AM >>>
Em Qua, 2004-08-11 às 04:46, Jambunathan Jambunathan escreveu:
> ...
> 
> /****************** TestCaseTemplate.vb *******************/
> 
> REM LineNo: <>
> REM ExpectedError:  <>
> REM ErrorMessage: 
> REM Target: <exe | library> (library target gets built first)
> REM CompilerOptions: /r:MyDll.dll
> 
> /****************  Positive TestCase.vb *******************/
> Imports System
> 
> Module M
> 	Sub Main()
> 		Console.WriteLine("This is a Positive Test Case")
> 	End Sub
> End Module
> 

I like it. But what about the expected behaviour/output of the generated
program?

Rodrigo







More information about the Mono-devel-list mailing list