Fix issue where running a specific test was treated as running all of them

This commit is contained in:
Dustin Campbell
2015-10-12 06:28:42 -07:00
parent 9934a70f52
commit ae5e46d772
+1 -1
View File
@@ -59,7 +59,7 @@ namespace xunit.runner.wpf.Impl
private Task RunCore(string actionName, string assemblyPath, ImmutableArray<string> testCaseDisplayNames, Action<TestResultData> callback, CancellationToken cancellationToken)
{
var connection = StartWorkerProcess(Constants.ActionRunAll, assemblyPath);
var connection = StartWorkerProcess(actionName, assemblyPath);
var queue = CreateRunQueue(connection, testCaseDisplayNames, cancellationToken);
var backgroundProducer = new BackgroundProducer<TestResultData>(connection, _dispatcher, queue, callback);
return backgroundProducer.Task;