Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit d4cea97

Browse files
author
Meaghan Lewis
authored
Add initial test.cmd script
1 parent 651a146 commit d4cea97

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test.cmd

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@echo off
2+
setlocal
3+
4+
set Configuration=Release
5+
6+
:: make sure at Unity project root directory
7+
set NunitDirectory=packages\NUnit.Runners.2.6.4\tools
8+
echo %NunitDirectory%
9+
set ConsoleRunner=%NunitDirectory%\nunit-console.exe
10+
echo %ConsoleRunner%
11+
12+
:: run tests
13+
echo Running "build\IntegrationTests\IntegrationTests.dll" "build\IntegrationTests\TestUtils.dll" "build\TaskSystemIntegrationTests\TaskSystemIntegrationTests.dll" "build\UnitTests\TestUtils.dll" "build\UnitTests\UnitTests.dll" "src\tests\TestUtils\bin\Release\TestUtils.dll" %1
14+
call %ConsoleRunner% "build\IntegrationTests\IntegrationTests.dll" "build\IntegrationTests\TestUtils.dll" "build\TaskSystemIntegrationTests\TaskSystemIntegrationTests.dll" "build\UnitTests\TestUtils.dll" "build\UnitTests\UnitTests.dll" "src\tests\TestUtils\bin\Release\TestUtils.dll" %1
15+
16+
endlocal

0 commit comments

Comments
 (0)