1.11.0
New feature
In Roborazzi, if you specify outputDir in the Gradle settings, you can use the build cache. Now, Roborazzi passes the setting into the test.
build.gradle
roborazzi {
outputDir = "src/your/screenshot/folder"
}
roborazzi.record.filePathStrategy=relativePathFromRoborazziContextOutputDirectory
Test
captureRoboImage()
-> saved src/your/screenshot/folder/package.class.method.png
captureRoboImage("test.png")
-> saved src/your/screenshot/folder/test.png
What's Changed
- Add helpful error message for class cast exception by @takahirom in #267
- Use 'verify' task when specifying both 'compare' and 'verify' by @takahirom in #269
- Respect gradle build dir for reports by @takahirom in #270
- Add "The images taken from Roborazzi seem broken" FAQ by @takahirom in #277
Full Changelog: 1.10.1...1.11.0