private void ExecuteProcess() { var process = new TestProcess(_solutionDirectory, _noBuild, "--logger trx", _parameter.IncludeFilterArg); process.ForwardDataAndError = true; process.OutputDataReceived += Process_OutputDataReceived; process.Run(); }
private void ExecuteProcess(TestParameter parameter) { File.WriteAllText("coverage.json", "{}"); var process = new TestProcess( _solutionDirectory, _noBuild, parameter.ExcludeFilterArg, "/p:CollectCoverage=true", "/p:CoverletOutput=../", "/p:MergeWith=\"../coverage.json\"", "/p:CoverletOutputFormat=\\\"json,cobertura\\\"", "/p:Exclude=\"[Zarwin.Shared.*]*\""); process.ForwardDataAndError = true; process.Run(); }