KasperskyLab / Kaspresso

Android UI test framework
https://kasperskylab.github.io/Kaspresso/
Apache License 2.0
1.81k stars 153 forks source link

Provide few types of default `Kaspresso` implementations #17

Closed dector closed 4 years ago

dector commented 5 years ago

Currently Kaspresso.default() is feature-loaded (e.g. contains a screenshot interceptor for each step).

As discussed, default implementation should be more lightweight and we can provide few more reconfigured implementations for different hypothetical environments (e.g. local, CI etc).

dector commented 5 years ago

I've checked all components in Kaspresso.default() implementation and seems that almost all of them are relatively "lightweight" except screenshot components: ScreenshotStepWatcherInterceptor and TestRunnerScreenshotWatcherInterceptor.

I suggest making Kaspresso.default() simple without screenshots and Kaspresso.fullFeatured() (requires better name) with full-featured testing environment..

matzuk commented 4 years ago

In master