private static StatLightConfiguration CreateStatLightConfigurationForDll(StatLightConfigurationFactory configurationFactory, IEnumerable<MethodTask> testMethods, string dllPath) { return configurationFactory.GetStatLightConfigurationForDll( unitTestProviderType: UnitTestProviderType.Undefined, // Let StatLight figure it out dllPath: dllPath, microsoftTestingFrameworkVersion: null, // Let StatLight figure it out methodsToTest: new Collection<string>(testMethods.Select(m => m.GetFullMethodName()).ToList()), tagFilters: null, numberOfBrowserHosts: 1, // Maybe you spin up 3 or 4 here if you know you're running a ton of tests isRemoteRun: false, queryString: "", // This is passed to the browser host page (say your test need some configuration - could be passed here - probably not a use case in ReSharper runner) webBrowserType: WebBrowserType.SelfHosted, forceBrowserStart: false, showTestingBrowserHost: false // If you need UI support this needs to be true ); }