$nunit = "C:\Program Files (x86)\NUnit 2.6.4\bin\nunit-console.exe"
$assemblies = ""
$items = Get-ChildItem -Path .\Test -Filter *UnitTests.dll -Recurse | Where {$_.FullName -notlike "*\obj\*"}
foreach ($item in $items)
{
$assemblies = $assemblies + " " + $item.FullName
}
$nunitcmd = """C:\Program Files (x86)\NUnit 2.6.4\bin\nunit-console.exe"" $assemblies /nologo /xml=c:\dump.xml"
$nunitcmd
cmd /c $nunitcmd
No comments:
Post a Comment