Permalink
Browse files

Make test.bat restart after hitting a key so we can do continuous test.

.
  • Loading branch information...
1 parent c292d9a commit 597b9f0a08143de17db1ab1c562e5c033a191da8 Chakrit Wichian committed Apr 6, 2011
Showing with 10 additions and 2 deletions.
  1. +10 −2 test.bat
View
@@ -1,4 +1,12 @@
@ECHO OFF
-msbuild Sider.sln /p:Configuration=Debug
-.\packages\NUnit.2.5.9.10348\Tools\nunit-console.exe Sider.Tests.nunit
+:loop
+echo Building...
+msbuild Sider.sln /p:Configuration=Debug > nul
+echo Running NUnit tests...
+.\packages\NUnit.2.5.9.10348\Tools\nunit-console.exe Sider.Tests.nunit /nologo %1 %2 %3 %4 %5 %6
+
+echo.
+echo "Press CTRL+C to stop."
+pause
+goto loop

0 comments on commit 597b9f0

Please sign in to comment.