Permalink
Browse files

Nicer way to run all the tests

  • Loading branch information...
1 parent a43a7ee commit c4fde87f7c9807077362b63c415ce44643c74a7b @ayende ayende committed Oct 23, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 run-tests-in-loop.ps1
View
@@ -1,5 +1,7 @@
+cd build
for($i = 0; $i -le 250; $i++)
{
+ $sp = [System.Diagnostics.Stopwatch]::StartNew()
Write-Host "Starting test #$i" -foregroundcolor Cyan
..\Tools\XUnit\xunit.console.clr4.exe "Raven.Munin.Tests.dll"
if ($lastExitCode -ne 0)
@@ -19,5 +21,6 @@ for($i = 0; $i -le 250; $i++)
..\Tools\XUnit\xunit.console.clr4.exe "Raven.Bundles.Tests.dll"
if ($lastExitCode -ne 0)
{ throw "err" }
-
+ Write-Host "Completed in " $sp.Elapsed -foregroundcolor Cyan
+
}

0 comments on commit c4fde87

Please sign in to comment.