Package-level declarations
Types
Link copied to clipboard
interface CariocaInstrumentedInterceptor
Lifecycle of a report:
Link copied to clipboard
A CariocaInstrumentedInterceptor that dumps the view hierarchy to a file whenever the test fails
Link copied to clipboard
A CariocaInstrumentedInterceptor that logs the different stages
Link copied to clipboard
class TakeScreenshotOnFailureInterceptor(screenshotOptions: ScreenshotOptions = ScreenshotOptions(
format = Bitmap.CompressFormat.PNG,
scale = 1.0f
), description: String = "Screenshot of failure") : CariocaInstrumentedInterceptor
A CariocaInstrumentedInterceptor that triggers a screenshot when the test fails using the configuration provided via screenshotOptions
Functions
Link copied to clipboard
fun List<CariocaInstrumentedInterceptor>.intercept(action: CariocaInstrumentedInterceptor.() -> Unit)