Good Morning!
I'm attempting to use the Parameterized testing facility with some VB
code I've been assigned to write and use.
I've created my test harness and created a simple test:
<TestFixture()> _
Public Class MyTestClass1
<Test()> _
Public Sub PerformTest1()
[ some code.... ]
End Sub
End Class
Currently, PerformTest1() calls the same internal method - but passes
different values in. What I want to do is to pass my values into
PerformTest1() and simplify my code.
I've looked at the documentation for Parameterized Tests and altered
my code to look like:
Public Sub PerformTest1( ByVal iVal1 as Integer )
My problem comes in when I attempt to add the <DataRow( 1 )> _ after
my test decorator in the code. I'm getting errors in the compile
indicating that type DataRow is not defined.
The IntelliSense is showing me <Test()> but not <DataRow>...
Any ideas???
Bob