getsentry / getsentry/sentry-java

Align e2e testing relay mock servers

未關閉
#3,830 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Android Errors
主要語言
Kotlin
星號
1.4k
分支
478
平均合併
3 天 4 小時
30 天內合併 PR
72

描述

### Description

There's currently multiple things in use when it comes to asserting envelopes make it out of the SDK and into relay.

We have:
- https://github.com/getsentry/sentry-java/pull/3811/files#diff-068624ded3e0ed8745999da8a9bccf9894c94522339169bad2e73ffaa7ca0465
- https://github.com/getsentry/sentry-java/blob/main/test/system-test-sentry-server.py
- https://github.com/getsentry/sentry-java/blob/main/sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/mockservers/MockRelay.kt

We should consider merging these.

Note: These might also be in use on other repos, e.g. SAGP

貢獻指南

開啟貢獻指南

研究方向

比較 issue 中提到的三個 relay 和 envelope 測試伺服器實作:PR diff、test/system-test-sentry-server.py,以及 sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/mockservers/MockRelay.kt。在選擇共用方案之前,檢查 SAGP 或其他 repository 是否使用了它們。完成的標準是,e2e assertions 在受影響的各個 consumer 之間使用行為一致的 mock-server。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
kotlin, python
領域
testing-qa
Issue 類型
重構
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。