You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@VladislavSumin
I personally believe this is out of scope of Kaspresso.
For that to happen one needs an annotation processor that
reads the preview annotations and its parameters and creates a bitmap out of them
generate test classes for it.
There is already a solution for the first step and it is called Airbnb/showkase
It generates a bitmap and creates a list with the bitmaps with all previews
Then one can use
A parameterized runner like AndroidTestParameterInjector from Google or Parameterized from Junit4. The idea is that every item in the list is a parameter -> each parameter is a test
Any screenshot testing framework, could be Paparazzi, Facebook, Shot, Dropshots or even Kaspresso
Add ability to automatically screenshots all @Preview in compose
The text was updated successfully, but these errors were encountered: