Closed just-kip closed 5 years ago
Save screenshot diff, like iOS plugin. Tests will not fail after the first failure, instead they will create files with all the failures and color up diff. Output will be like:
<failure-dir>/<device>/foobar_actual.png //taked screenshot <failure-dir>/<device>/foobar_expected.png //saved screenshot <failure-dir>/<device>/foobar_diff.png //colored diff
build.gradle
screenshots { failureDir = path/to/screenshots //"$projectDir/build/failure-screenshots" }
if u not specify dir plugin will work as before.
Thanks! I'll take a look soon
taked: changes: expected:
@xiphirx merged this pull request in facebook/screenshot-tests-for-android@e897fe8ef51ad94d2e0d4aedc75912039dafdee6.
Save screenshot diff, like iOS plugin. Tests will not fail after the first failure, instead they will create files with all the failures and color up diff. Output will be like:
build.gradle
if u not specify dir plugin will work as before.