https://kotlinlang.org logo
#compose
Title
# compose
m

Michal Klimczak

07/29/2022, 9:26 AM
A library that takes compose Previews and creates a "Design System Screen" that can be attached to a non-production app version. So that designers can see how the app compares to the design in a single place. Do you know of sth like this?
s

Stylianos Gakis

07/29/2022, 10:29 AM
m

Michal Klimczak

07/29/2022, 10:31 AM
oh, I was aware of showkase but only in the context of UI testing. thank you!
s

Stylianos Gakis

07/29/2022, 10:32 AM
Hmm what do you mean regarding in the context of UI testing?
m

Michal Klimczak

07/29/2022, 10:33 AM
I mean screenshot testing. Sth like this: https://proandroiddev.com/no-emulator-needed-for-screenshot-tests-of-compose-previews-on-ci-d292fa0eb26e haven't checked it out yet, though
s

Stylianos Gakis

07/29/2022, 10:36 AM
Aha okay, I was asking since Showkase isn’t the one which does the screenshot testing, Paparazzi is, even in the linked case. Showkase acts as something that gets those composables ready to be tested by Paparazzi if I understood correctly.
m

Michal Klimczak

07/29/2022, 10:36 AM
that's my understanding too
v

Vinay Gaba

07/29/2022, 4:41 PM
I built some integrations in Showkase that allow you to screenshot test as well, however, I haven't documented it 😓 https://github.com/airbnb/Showkase/tree/master/showkase-screenshot-testing-shot
3 Views