I've got some data driven unit tests, basically done as described here:
http://msdn.microsoft.com/en-us/library/ms182527.aspx
For a given test run I can get the results with something like:
IOrderedEnumerable<ITestCaseResult> runDetails = WebApiApplication.TeamProject.TestRuns.Find(testRunId).QueryResults().OrderBy(r=>r.Outcome);
In each ITestCaseResult I can get the error message via:
testCaseResult.ErrorMessage
Great, but when there are results from a data driven test, I can't figure out how to get the iterated results. They show up in the produced .trx file, but aren't anywhere in the ITestCaseResult.
Any ideas on how to get them via the API?