takahirom / roborazzi

Make JVM Android integration test visible 🤖📸
https://takahirom.github.io/roborazzi/
Apache License 2.0
649 stars 24 forks source link

Use empty files for record task #389

Closed takahirom closed 1 month ago

takahirom commented 1 month ago

The challenges we aim to address

https://github.com/takahirom/roborazzi/pull/386

Problem Currently, Roborazzi's gradle plugin declares the output directory (where the golden screenshot files are stored) as an input. This is correct when the task runs in compare and verify modes, but it is not necessary when running record mode only. The side-effect of this is that it is much more difficult to find an existing build cache entry.