android-testify icon indicating copy to clipboard operation
android-testify copied to clipboard

Feature Request: Forced record mode

Open DanielJette opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

When running screenshotRecord, only the changed files (or missing files) are updated. I'd like to be able to force the record mode to save every file, even if it's not different. This can be useful when you're using setExactness. For example, you might be running with setExactness(0.9) which means that some of your images might pass validation, but actually be a bit different at the pixel level. With a force-record, you could grab all the images regardless of whether they pass the "assertSame" test.

This feedback relates to:

  • [x] The Kotlin library
  • [x] The Gradle plugin
  • [ ] The IntelliJ Platform plugin
  • [ ] The sample code
  • [ ] The documentation

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

DanielJette avatar Mar 22 '22 15:03 DanielJette