All runnable via node test/<name>.js
| # | Test | Platform | Items | Result |
|---|---|---|---|---|
| 1 | JS SDK Smoke | Node.js | 8 | ✅ |
| 2 | ESM Import | Node.js | 5 | ✅ |
| 3 | globalThis White-Screen Fix | Node.js | 3 | ✅ |
| 4 | WeChat Mini Program Adapter | Node.js | 6 | ✅ |
| 5 | Boundary & Edge Cases | Node.js | 50 | ✅ |
| 6 | Browser Environment | Browser | 13 | ✅ |
| 7 | Breadcrumbs | Node.js | 9 | ✅ |
| 8 | State Snapshot | Node.js | 7 | ✅ |
| 9 | Privacy Sanitizer | Node.js | 9 | ✅ |
| 10 | MCP Server | Node.js | 4 | ✅ |
| 11 | MCP Live Call | BRS MCP | 2 | ✅ |
| 12 | Skill Diagnosis | Reasonix | 5 phases | ✅ |
| 13 | uni-app Build | HBuilderX | 30+ | ✅ |
| 14 | Android Build | Android Studio | — | ✅ |
| 15 | HTML Panel | Browser | — | ✅ |
| 16 | One-Click Install | Reasonix | — | ✅ |
| 17 | iOS Build | Xcode | — | ❓ Untested |
Total: 122/122 automated tests passed ✅ (Node.js) | 6/6 manual platform verifications passed ✅ | 1 item untested (iOS Xcode)
💡 The iOS SDK is fully implemented (Swift, Package.swift, SPM-ready), but has not been verified via Xcode compilation. Community contributors are welcome to complete iOS testing via PR.
cd test
node smoke.js # 8 items — Core API
node crumb-test.js # 9 items — Breadcrumbs
node snapshot-test.js # 7 items — Snapshot
node sanitizer-test.js # 9 items — Sanitizer
node boundary-test.js # 50 items — Edge cases
node esm-test.mjs # 5 items — ESM import
node globalThis-test.js # 3 items — White-screen fix
node wx-adapter-test.js # 6 items — WeChat adapter
node mcp-test.js # 4 items — MCP ServerExpected: Each file outputs "All XX tests passed. ✅"
1. Open test/browser-test.html
2. Click "▶ Run All"
3. All items show ✅
4. Click "📊 Open Viewer" to see the log panel
1. Open HBuilderX
2. Open directory → test/uni-app-demo/
3. Run → Run to Browser → Chrome
4. Click "▶ Run All Tests"
5. All items show ✅ (30+ tests)
6. Click "📊 Open Log Viewer"
1. Open Android Studio
2. Open test/android-demo/
3. Wait for Gradle sync
4. Click Run 'app'
5. Click "Open Log Viewer"
6. Run adb logcat -s BugReport
1. Verify reasonix.toml has BRS MCP plugin configured
2. Restart Reasonix
3. Say "/bug-report" or "帮我排查错误"
4. For MCP: say "查一下最近的崩溃"
Double-click log-viewer.html → Chrome DevTools-style panel should render correctly.
iOS SDK code is complete, awaiting Xcode verification or community PR.