[mono-vb] [RFC] MBAS Compiler Test Suite
Jambunathan Jambunathan
kjambunathan@novell.com
Thu, 12 Aug 2004 10:08:25 -0600
> 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=20
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=20
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@acm.org> 8/12/2004 5:08:59 AM >>>
Em Qua, 2004-08-11 =E0s 04:46, Jambunathan Jambunathan escreveu:
> ...
>=20
> /****************** TestCaseTemplate.vb *******************/
>=20
> REM LineNo: <>
> REM ExpectedError: <>
> REM ErrorMessage:=20
> REM Target: <exe | library> (library target gets built first)
> REM CompilerOptions: /r:MyDll.dll
>=20
> /**************** Positive TestCase.vb *******************/
> Imports System
>=20
> Module M
> Sub Main()
> Console.WriteLine("This is a Positive Test Case")
> End Sub
> End Module
>=20
I like it. But what about the expected behaviour/output of the generated
program?
Rodrigo