https://kotlinlang.org logo
Title
m

Michal Klimczak

12/16/2021, 8:14 AM
screenshot testing based on compose preview - nothing like that in the wild, right? is this because of some preview tooling limitations? it would be great if we could have a simple compiler plugin which would go through the code, run the previews it found and just rendered them to bitmaps. (I am aware of screenshot testing libraries based on emulator tests, like Shot, but here I'm thinking of something much simpler). Or to rephrase it - how would one tap into the preview tooling to try and render a bitmap out of preview?
c

Colton Idle

12/16/2021, 8:17 AM
I'm crossing my fingers for for compose support in cashapp/paparazzi
m

Michal Klimczak

12/16/2021, 8:22 AM
oh right, good note! corresponding issue https://github.com/cashapp/paparazzi/issues/225