chore: update .gitignore and scaffold TestHost for EditMode tests#2
Closed
Zurcusa wants to merge 3 commits into
Closed
chore: update .gitignore and scaffold TestHost for EditMode tests#2Zurcusa wants to merge 3 commits into
Zurcusa wants to merge 3 commits into
Conversation
5f007fd to
8359d28
Compare
Enable C# 9 features (init-only setters, nullable reference types) via Directory.Build.props and add the IsExternalInit polyfill required for init-setter support on .NET Standard 2.0. Update .gitignore for Unity generated files and IDE exclusions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tests Add a minimal Unity project skeleton under Tests~/TestHost/ that imports the SDK via UPM local path and runs EditMode tests without requiring an Android device. Includes bootstrap and UPM-clean-import sentinel tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
|
Merged .gitignore into PR #3; TestHost scaffold eliminated in favor of existing Tests/EditMode/ structure. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
.gitignoreis missing Unity-generated file patterns. The SDK also has no way to run EditMode tests outside a manually configured Unity project.Solution
.gitignorewith Unity-generated files, IDE exclusions, and sub-project patternsTests~/TestHost/that imports the SDK via UPM and runs EditMode tests headlesslyDeploy Notes
New directory:
Tests~/TestHost/— not included in the UPM package, used only for development and CI.Run tests with:
```bash
unity-editor -runTests -batchmode -projectPath Tests~/TestHost -testPlatform EditMode
```