paparazzi
paparazzi copied to clipboard
Render your Android screens without a physical device or emulator
Relates to https://github.com/cashapp/paparazzi/pull/1563#issuecomment-2417845195
**Description** Fail to run basic test example ``` package ........ import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.wrapContentSize import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.text.TextStyle import androidx.compose.ui.text.font.FontFamily...
...to differentiate them from the different pixels Addresses issue #1612 I added a plugin test (`verifySimilar`) demonstrating that similar pixels are expected to be blue 🟦. | Before | After...
The "meat and potatoes" of the `@Paparazzi` feature. - Add logic to the plugin to add KSP and associated dependencies. - Add support for gradle property to control test class...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.android.tools.layoutlib:layoutlib-runtime](https://developer.android.com/studio) ([source](https://cs.android.com/android/platform/frameworks/base/)) | `14.0.9` -> `15.0.4` | [](https://docs.renovatebot.com/merge-confidence/) |...
- [ ] Wait till 1.3.5 is released
The `OffByTwo` differ is currently drawing [similar pixels](https://github.com/cashapp/paparazzi/blob/master/paparazzi/src/main/java/app/cash/paparazzi/internal/OffByTwo.kt#L67) with the same rgb value as [different pixels](https://github.com/cashapp/paparazzi/blob/master/paparazzi/src/main/java/app/cash/paparazzi/internal/OffByTwo.kt#L72). This makes it hard to know which differences lead to a failure and which...
Gradle supports multiple test suites: https://docs.gradle.org/current/userguide/jvm_test_suite_plugin.html AGP doesn't support this yet: https://issuetracker.google.com/issues/307694643 If/when AGP does support a test suite concept, paparazzi would need to allow for configuring with test suites...
Add more snapshot info to create snapshots based on annotated previews.
Adds the ability to read `@PreviewParameters` for @Composable's with the @Paparazzi annotation