-
Notifications
You must be signed in to change notification settings - Fork 6
Add capture interceptor #202
Copy link
Copy link
Open
Labels
FeedbackLibraryRelates to the Testify Kotlin library: ScreenshotRule, ScreenshotInstrumentation, etc.Relates to the Testify Kotlin library: ScreenshotRule, ScreenshotInstrumentation, etc.
Metadata
Metadata
Assignees
Labels
FeedbackLibraryRelates to the Testify Kotlin library: ScreenshotRule, ScreenshotInstrumentation, etc.Relates to the Testify Kotlin library: ScreenshotRule, ScreenshotInstrumentation, etc.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
It would be cool if there was an easy way to intercept the captured bitmap, for logging, modification, or debugging.
There's already
afterScreenshoton theScreenshotLifecyclebut this requires you to subclass the TestRule. It would be nicer if you could register any number of interceptors and have them called by Testify automatically, without having to subclass the rule.This feedback relates to:
Describe the solution you'd like