Suppose I have a code module which accepts a variable number of DataRows:
Public sub Process(Dt As DataTable)
End Sub
I want to pass one or more test DataRows to my MbUnit test module:
Test 1:
DataRow 1: Green, 23
DataRow 2: Green, 24
Test 2:
DataRow 1: Green, 23
DataRow 2: Green, 24
DataRow 3: Blue, 44
DataRow 4: Red, 55
How would I setup an XML data file with these tests in MbUnit?
Question 2:
Suppose I want to pass meta data about the test data? For example "Color Name" or "Distance". How would I add this meta data to the XML file?
Thanks,
Ed