[2.0] Configure should be generic #97
Labels
Architecture
Extension
Relates to one of the extension libraries
Feedback
Library
Relates to the Testify Kotlin library: ScreenshotRule, ScreenshotInstrumentation, etc.
Testify 2.0
The new
configure
method should return a generic.Configure always returns a
ScreenshotTest<T>
but this means that subclasses of the Rule (likeComposableScreenshotRule
) must be invoked prior toconfigure
. It breaks the logical flow of the test where it's common to want to configure first, then set your composables. The configure method should be something more like:The text was updated successfully, but these errors were encountered: