paparazzi
paparazzi copied to clipboard
Render your Android screens without a physical device or emulator
Snapshots seem to be unconditionally placed in `src/test/snapshots/`. For Kotlin MPP, the name of the Android-specific source set is arbitrary and that name should be used as the source set...
Modelled off the AccessibilityRenderExtension. But instead using the `ViewRootForTest.onViewCreatedCallback` hook using in composeTestRule. And a separate SnapshotHandler to render instead of using views. Derived from https://github.com/google/horologist/pull/524 
**Description** #171 Related OpenJDK Runtime Environment Zulu18.32+11-CA (build 18.0.2+9) **Steps to Reproduce** ./gradlew recordPaparazziDebug ``` java.lang.NoSuchFieldException: modifiers at java.base/java.lang.Class.getDeclaredField(Class.java:2642) at app.cash.paparazzi.Paparazzi.forcePlatformSdkVersion(Paparazzi.kt:388) at app.cash.paparazzi.Paparazzi.prepare(Paparazzi.kt:148) at app.cash.paparazzi.Paparazzi$apply$statement$1.evaluate(Paparazzi.kt:122) at app.cash.paparazzi.agent.AgentTestRule$apply$1.evaluate(AgentTestRule.kt:17) at com.google.testing.junit.testparameterinjector.PluggableTestRunner$ContextMethodRule$1.evaluate(PluggableTestRunner.java:420) at...
Add support for ViewGroups which have compose components since AbsComposeView can be added anywhere. If we detect compose on the classpath then apply our hooks instead of only applying to...
Currently `Paparazzi` limits thumbnail size (I suppose for saving space). But there's some tasks where it is not a good approach: 1. `Paparazzi` can be used for screenshot generation (that's...
**Description** Gradle disables caching of unit tests when running Paparazzi, declares the snapshots directory output property as "overlapping." **Steps to Reproduce** This happens consistently when running tests, provided that the...
Ideas: - how to target a specific SDK level in Paparazzi - move git lfs section out of main page to here
**Description** It would be great if the snapshot didn't have to have all of the values in it such as the package name, class name and the method name and...
Hey 👋 , I am looking to use paparazzi at my company and I want to bundle a common testing library using Paparazzi device profiles: ```kotlin val phone = Paparazzi(...
Added a shrink mode to shrink views to the direction the user wants. This should normally be part of the `RenderingMode` but we don't control this class so I needed...