すべてのコメントを要約する - あなたがNUnitを使用しているので、それを行うことができるGUI runnerがあるあなたのために。どのようなUIを上層に配置するかによって、Windows FormsとASP.NET MVCがあります。
はここ1以降とhow I did itです:
var db = new ServerContext();
Build build = db.Builds.Find(BuildId);
var project = db.Projects.FirstOrDefault(p => p.Id.Equals(build.ProjectId));
string value = Value;
string gitDirrectory = Build.Workspace.Replace("\\", "/") + "/source";
//run NUnit tests
Process process = new Process();
process.StartInfo.FileName = "cmd.exe";
process.StartInfo.Arguments = @"/c "+ gitDirrectory + @"/packages/NUnit.Runners.2.6.3/tools/nunit-console.exe " + gitDirrectory
+ value
+ " /include:" + project.Name.Replace(" team", String.Empty).Trim()
+ " >> " + Build.Log;
process.Start();
process.WaitForExit();
はあなたが便利レポのコードのどの部分を使用すること自由に感じなさい。
NUnitを使用している場合、あなたのためにできる[GUIランナー](https://www.nunit.org/index.php?p=nunit-gui&r=2.2.10)があります。 – ekostadinov
@ekostadinovええ、それは基本的に私が欲しいものですが、自分のスタイリングで自分自身を作りたいと思っています。 –
[this github repo](https://github.com/nunit/nunit-gui)を出発点として使用できます。 – ekostadinov