public TestRunAction BuildTestRunAction(string name, int index, string testFixture)
{
var runner = new CategoryRunner(_assemblyLocation, GetNameFilter(testFixture), BuildOutputXmlPath("fixture-" + testFixture));
return new TestRunAction
{
Name = name,
Index = index,
RunTests = () => runner.Execute()
};
}