ue-integration-test
Skill176 starsChanged 4 months agoMITView on GitHub
Run integration tests using the Pester framework
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- build-depsSkill
- packSkill
- ue-buildSkill
- ue-unit-testSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Run integration tests for the Sentry Unreal SDK using the Pester framework and app-runner module.
- Distinctive: line 12
Before running tests, verify the following are available:
- Very specific: line 16
Pester 5+: - if not installed: Install-Module -Name Pester -Force -SkipPublisherCheck
- Distinctive: line 23
Run CMake to download the app-runner PowerShell module (this step does not require env vars):
- Very specific: line 31
Look for the built application in sample/dist/ first (the default output of /ue-build):
- Very specific: line 43
If the expected file exists in sample/dist/, set the env var to its absolute path.
- Very specific: line 49
Check that required env vars are set (use PowerShell .NET method on Windows: [System.Environment]::GetEnvironmentVariable('VAR_NAME')).
- Very specific: line 63
Ensure a device or emulator is connected and visible via adb devices
- Distinctive: line 65
If any required variable is missing, list which ones are missing and ask the user to set them before proceeding.
- Distinctive: line 73
If the platform is unclear, ask the user.
- Distinctive: line 89
When iterating on a single test, filter by its name instead of rerunning the whole suite:
- Very specific: line 99
Test outputs are saved to integration-test/output/:
- Very specific: line 106
If tests fail, check these output files and event-*.json (events fetched from Sentry API) for debugging.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Prerequisites
Before running tests, verify the following are available:
- PowerShell 7+ (Core edition)
- CMake 3.20+
- Pester 5+ - if not installed:
Install-Module -Name Pester -Force -SkipPublisherCheck - Pre-built SentryPlayground application in
Developmentconfiguration (Shippingbuilds lack log output required by tests). If not built, suggest running/ue-buildfirst.
Steps
1. Setup app-runner module
Run CMake to download the app-runner PowerShell module (this step does not require env vars):
cd integration-test && cmake -B build -S .2. Locate the test application
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:
- If the expected file exists in
sample/dist/, set the env var to its absolute path. - Otherwise, if
SENTRY_UNREAL_TEST_APP_PATHis already set, use its current value. - Otherwise, ask the user for the path and set the env var to their input.
3. Verify environment variables
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 manually
Android 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-1requires_sjc1,eu-central-1requires_fra1)
Android via ADB (local testing):
- Ensure a device or emulator is connected and visible via
adb devices
If any required variable is missing, list which ones are missing and ask the user to set them before proceeding.
4. Select test file based on platform
Determine the platform from conversation context:
- Windows, Linux, macOS:
Integration.Desktop.Tests.ps1 - Android:
Integration.Android.Tests.ps1
If the platform is unclear, ask the user.
5. Run tests
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.
6. Check results
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

