WHAT IS THIS? paparazzi alternative? <https://twi...
# compose
c
WHAT IS THIS? paparazzi alternative? https://twitter.com/ppvi/status/1597608519876116482
đŸ‘€ 2
j
I would like to know if it can be used with Paparazzi, cc @Alex Vanyo
m
It’s not really an alternative as i see it. It’s just configuring the device locally inside of a test function. It’s not rendering your UI or capturing screen shots of the rendered UI that i can tell. I would think it be orthogonal to paparazzi. You might use this to give yourself a variety of configurations with a parameterized test, and screenshot them in paparazzi.
a
Right, not an alternative to Paparazzi. Its main use is for instrumented tests (emulator or real device) to set the configuration used to render a component. With https://github.com/google/accompanist/pull/1414, you should be able to use it with Paparazzi directly, with some caveats.
y
There is also a limitation that it doesn't work in previews. So I'd be surprised if it ran for paparazzi, but haven't tested
j
@yschimke similar issue to mixing compose with navigation?
y
No, apologies to @Alex Vanyo
This is the fix for that limitation
Nice work!