We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec00ab commit ac2e1b9Copy full SHA for ac2e1b9
1 file changed
AGENTS.md
@@ -26,7 +26,17 @@ I use GameCI `unity-test-runner`.
26
## How to run tests locally
27
### EditMode
28
Run Unity in batchmode:
29
-- `Unity -batchmode -nographics -quit -projectPath . -runTests -testPlatform editmode -testResults ./TestResults/editmode.xml`
+```
30
+PROJECT_ROOT="$(pwd)"
31
+RESULT_XML="$PROJECT_ROOT/TestResults/editmode.xml"
32
+
33
+mkdir -p "$(dirname "$RESULT_XML")"
34
35
+"<UNITY_EXE>" -batchmode -nographics -quit \
36
+ -projectPath "$PROJECT_ROOT" \
37
+ -runTests -testPlatform editmode \
38
+ -testResults "$RESULT_XML"
39
40
41
## Architecture guardrails
42
- Runtime surface area should remain minimal (mainly attributes / data structures).
0 commit comments