-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compose Preview friction #446
Comments
Also error
Following instructions |
👀 |
I also needed
without attempting "Manually adding Compose Preview screenshot tests" |
Could AndroidComposePreviewTester be public (experimental) and open? I need to run some tearDown, and it seems awkward without lifecycle hooks. |
Warnings on compiling
|
If you need a specific support library from roborazzi, it feels appropriate to add that, even though we discussed not messing with the robolectric dependencies. |
Whether to add dependencies in the plugin or not is a tough decision, as I initially added them all. You mentioned Hilt and Compose, which don't even add their runtime dependencies in the plugin. It's difficult to decide if something is a 'specific support library'; for example, Hilt Android support also doesn't add the runtime dependency. I also find that if we have a library dependency in 'roborazzi-compose-preview-scanner-support', it can be difficult for users to exclude that library dependency. |
OK, makes sense. |
https://takahirom.github.io/roborazzi/preview-support.html#generate-compose-preview-screenshot-tests
seems incomplete, running with 1.23.0 my gradle sync fails with
Could this fail at runtime instead? And should it be in the docs?
The text was updated successfully, but these errors were encountered: