getsentry / sentry-android-gradle-plugin

Gradle plugin for Sentry Android. Upload proguard, debug files, and more.
https://docs.sentry.io/platforms/android/gradle/
MIT License
141 stars 32 forks source link

Add test fixtures to verify classes post-instrumentation #221

Open romtsn opened 2 years ago

romtsn commented 2 years ago

We could also create test fixtures to verify classes after they've been instrumented, e.g. use Textifier from ASM to see the bytecode representation of the target class with spans, and then compare them as plain text.

romtsn commented 1 week ago

prior art: https://cs.android.com/android/platform/superproject/main/+/main:external/dagger2/java/dagger/hilt/android/plugin/main/src/test/kotlin/TransformTest.kt