I fixed the problem the following day by doing what you said (reducing
to a single row) and figured out it to be an array initialization
error.

I have a [Factory] method that returns an array of API Calls (rows)
defined like so
public ApiData[] GetApiData()

In it I have arrays..

ApiData[] registerCustomerItems = new ApiData[6];
ApiData[] loginCustomerItems = new ApiData[10];

return registerCustomerItems;

Then I have a Cominatorial test method that runs through all the rows
within the array returned from the factory.

[CombinatorialTest]
                public void ComboTest([UsingFactories("GetApiData")] ApiData 
item)
{...}

I can change the return array from GetApiData()  on the fly without
uncomennting other arrays and the ComboTest method would execute the
appropriate test cases accordingly.

The problem arose when I had added more rows to the array that was not
being returned without changing the size. I was returning
registerCustomerItems and had loginCustomerItems defined like so:
ApiData[] loginCustomerItems = new ApiData[10]; while actually having
11 rows,
loginCustomerItems[10] = new ApiData("LoginCustomer"...);

MBUnit didn't like that.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/MbUnitUser
-~----------~----~----~----~------~----~------~--~---

Reply via email to