Skip to content

Commit 89639e3

Browse files
committed
Add in docs how to test unitypackage
1 parent decc1a6 commit 89639e3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/source/developers/unity-integration-testing.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,23 @@ Testing
2121
2. Run: ``src/BitMono.Unity/scripts/copy-to-test-project.bat``
2222
3. Open Unity: ``test/BitMono.Unity.TestProject/``
2323
4. Build to test
24+
25+
Testing Package Export
26+
----------------------
27+
28+
To verify that the ``.unitypackage`` export includes all required DLLs:
29+
30+
1. Follow steps 1-3 above to set up the test project
31+
2. In Unity, go to **BitMono > Test Export Package**
32+
3. Check the Console for output showing included files and DLL count
33+
4. The package will be created at the repository root: ``BitMono-Unity-vtest-Unity<version>.unitypackage``
34+
35+
Expected output::
36+
37+
=== BitMono Package Export Test ===
38+
Including 192 files from BitMono.CLI folder (164 DLLs)
39+
Total assets to export: 198
40+
Package exported successfully!
41+
Size: ~8 MB
42+
43+
This menu item is only available in the source code (not in exported packages) since ``PackageExporter.cs`` is excluded from the ``.unitypackage``.

0 commit comments

Comments
 (0)