Skip to content

Commit a4bbeb3

Browse files
committed
Improve Unity testing documentation
1 parent 6ecd78f commit a4bbeb3

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

  • test/MsgPack.UnitTest.Unity.Il2cpp.Full

test/MsgPack.UnitTest.Unity.Il2cpp.Full/Readme.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,32 @@ MessagePack for CLI Unit Test for Unity IL2CPP
33

44
Overview
55
---
6+
67
This directory contains unit test framework for Unity IL2CPP backend.
78

89
How to build
910
---
1011

1112
1. Go to `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop` directory.
12-
2. Run `MakeAssets.ps1` PowerShell script.
13-
```
13+
2. Run `msbuild` to build the project.
14+
* Note that Mono must be installed for your *nix environment.
15+
* Note that you must have path to .NET SDKs for your Windows environment (using Visual Studio Developer Command Prompt is easy way if you have it).
16+
3. Run `MakeAssets.ps1` PowerShell script.
17+
18+
```bat
1419
@rem In Windows
1520
powershell -ExecutionPolicy Unrestricted ./MakeAssets.ps1
1621
```
17-
```
22+
23+
```shell
1824
# In *nix
1925
pwsh ./MakeAssets.ps1
2026
```
21-
3. Ensure `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets` directory and its subtree have been generated.
22-
4. Open this folder with Unity.
23-
5. Import `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets/Dll` directory into `Assets` of Unity project with Unity Editor.
24-
6. Import `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets/UnitTests` directory into `Assets` of Unity project with Unity Editor.
27+
28+
4. Ensure `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets` directory and its subtree have been generated.
29+
5. Open this folder with Unity.
30+
6. Import `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets/Dll` directory into `Assets` of Unity project with Unity Editor.
31+
7. Import `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets/UnitTests` directory into `Assets` of Unity project with Unity Editor.
2532

2633
How to run
2734
---

0 commit comments

Comments
 (0)