用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/getsentry/sentry-unreal --skill ue-integration-test命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | ue-integration-test |
| description | Run integration tests using the Pester framework |
Run integration tests for the Sentry Unreal SDK using the Pester framework and app-runner module.
Refer to integration-test/README.md for detailed documentation on test coverage, CI integration, and SauceLabs configuration.
Before running tests, verify the following are available:
Install-Module -Name Pester -Force -SkipPublisherCheckDevelopment configuration (Shipping builds lack log output required by tests). If not built, suggest running /ue-build first.Run CMake to download the app-runner PowerShell module (this step does not require env vars):
cd integration-test && cmake -B build -S .
Look for the built application in sample/dist/ first (the default output of /ue-build):
| Platform | Expected path |
|---|---|
| Windows | sample/dist/Windows/SentryPlayground.exe |
| macOS | sample/dist/Mac/SentryPlayground.app/Contents/MacOS/SentryPlayground |
| Linux | sample/dist/Linux/SentryPlayground.sh |
| Android (emulator) | sample/dist/Android/SentryPlayground-x64.apk |
| Android (device/cloud) | sample/dist/Android/SentryPlayground-arm64.apk |
Resolve SENTRY_UNREAL_TEST_APP_PATH in this order:
sample/dist/, set the env var to its absolute path.SENTRY_UNREAL_TEST_APP_PATH is already set, use its current value.Check that required env vars are set (use PowerShell .NET method on Windows: [System.Environment]::GetEnvironmentVariable('VAR_NAME')). Verify non-empty only, never print values:
Common (always required):
SENTRY_UNREAL_TEST_DSNSENTRY_AUTH_TOKENSENTRY_UNREAL_TEST_APP_PATH - resolved automatically in step 2, or set manuallyAndroid via SauceLabs (required for cloud testing):
SAUCE_USERNAMESAUCE_ACCESS_KEYSAUCE_REGION - e.g., us-west-1, eu-central-1SAUCE_DEVICE_NAME - must match a device available in the specified region; datacenter suffix must align with region (us-west-1 requires _sjc1, eu-central-1 requires _fra1)Android via ADB (local testing):
adb devicesIf any required variable is missing, list which ones are missing and ask the user to set them before proceeding.
Determine the platform from conversation context:
Integration.Desktop.Tests.ps1Integration.Android.Tests.ps1If the platform is unclear, ask the user.
Execute from the integration-test/ directory:
cd integration-test
# Desktop (Windows, Linux, macOS)
pwsh -Command 'Invoke-Pester ./Integration.Desktop.Tests.ps1'
# Android
pwsh -Command 'Invoke-Pester ./Integration.Android.Tests.ps1'
When iterating on a single test, filter by its name instead of rerunning the whole suite:
pwsh -Command 'Invoke-Pester ./Integration.Desktop.Tests.ps1 -FullNameFilter "*crash*"'
The full suite can take longer than the default command timeout — run it in the background and monitor its output, or raise the timeout accordingly.
Test outputs are saved to integration-test/output/:
| Platform | Output files |
|---|---|
| Desktop | *-crash-stdout.log, *-crash-stderr.log, *-crash-result.json, *-message-stdout.log, *-message-stderr.log, *-message-result.json, event-*.json |
| Android | *-logcat.txt, event-*.json |
If tests fail, check these output files and event-*.json (events fetched from Sentry API) for debugging.
The SENTRY_APP_RUNNER environment variable, if set, points to the app-runner module source code for deeper investigation.