Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Releases: Shopify/android-testify

Final release from Shopify/android-testify

08 Aug 13:32
a066819
Compare
Choose a tag to compare

Warning

🚚 We have moved! 🚧

Effective August 1, 2022, all development will occur in our new repository: https://github.com/ndtp/android-testify/

Please consult the Migration Guide for information on how to move your project to the latest artifacts.

v0.1.3

10 May 15:58
d5e3c81
Compare
Choose a tag to compare

Version 0.1.3 of the Android Testify - Screenshot Instrumentation Tests plugin has been approved by JetBrains and is now publicly available at the following link: https://plugins.jetbrains.com/plugin/14687-android-testify--screenshot-instrumentation-tests/versions/stable/173970.

1.2.0-alpha01

18 Jan 16:51
6a04294
Compare
Choose a tag to compare

Initial release of testify-compose library

1.1.0

02 Nov 14:50
be1ba15
Compare
Choose a tag to compare

1.1.0

Library and plugin released without additional changes.

v0.1.2

16 Sep 12:59
8ad705e
Compare
Choose a tag to compare

[0.1.2]

Updated

  • Intellij plugin now supports Android Studio Bumblebee | 2021.1.1 Canary 9
    Build 211.*

1.1.0-rc01

09 Sep 13:39
952b07b
Compare
Choose a tag to compare

1.1.0-rc01

Library

Bug fixes

  • #228, #215
    Account for uneven processing chunk sizes. As Testify processes, it divides the images into chunks for faster, parallel processing.
    A bug in the original code assumed that each processing chunk would be equally sized. This caused an out-of-bounds exception in any case where the number of pixels in the image could not be evenly divided.

  • #216
    You can now use ScreenshotRule.setExactness() in conjunction with ScreenshotRule.defineExclusionRects(). You can now define both an exclusion area and an exactness threshold.

Added

  • Method ScreenshotRule.getExactness():Float? added.

Changes

  • Method ScreenshotRule.setExactness(exactness: Float?): ScreenshotRule<T> now accepts a nullable value.

  • TestifyFeatures.GenerateDiffs now visualizes exclusion regions and the exactness tolerance.
    When enabled, GenerateDiffs will write a companion image for your screenshot test which can help you more easily
    identify which areas of your test have triggered the screenshot failure.
    Diff files are only generated for failing tests.
    The generated file will be created in the same directory as your baseline images. Diff files can be pulled from
    the device using :screenshotPull.

    • Black pixels are identical between the baseline and test image
    • Grey pixels have been excluded from the comparison
    • Yellow pixels are different, but within the Exactness threshold
    • Red pixels are different
  • Method DeviceIdentifier.getDeviceDimensions(context: Context): Pair<Int, Int> is now public.

1.1.0-beta3

11 Aug 17:05
87dfca2
Compare
Choose a tag to compare

1.1.0-beta3

Library

Gradle Plugin

Bug fixes

  • Several internal changes to support Gradle 7.
  • Fix #225
    Apply annotations to task properties for up-to-date checks. Adds missing annotations on public properties in Tasks to assist with up-to-date checks. Missing annotations are now errors in Gradle 7.0+.
  • Fix #234
    Using the Testify plugin with AGP 7+ would generate the error "Cannot query the value of property 'applicationId' because configuration of project ':app' has not completed yet". Fixed by catching the error and providing a sensible default. In the case where the test packaged ID is incorrectly inferred, the user can specify testify { testPackageId "my.custom.package.test" } in their build.gradle to override the inferred value.

Library

Changes

  • Renamed the rootViewId setter on ScreenshotTestRule for better Java interoperability. It has been renamed to setRootViewIdResource.

v0.1.1

27 May 15:52
a2caebb
Compare
Choose a tag to compare

[0.1.1]

Updated

  • Intellij plugin now supports Android Studio Arctic Fox | 2020.3.1 Beta 2
    Build 203.*

1.1.0-beta2

17 May 19:08
6861d88
Compare
Choose a tag to compare

1.1.0-beta2

Library

Bug fixes

  • Fix "ParallelPixelProcessor.kt:90 - java.lang.IndexOutOfBoundsException: index=315250 out of bounds (limit=315250)"
    #215

Updates

  • AGP from 4.2.0-beta6 to 4.2.0

Sample

Changes

  • Remove kotlin-android-extensions from Sample and replace with viewBinding

1.1.0-beta1

20 Apr 21:21
f56a413
Compare
Choose a tag to compare
Merge pull request #214 from Shopify/release-1.1.0-beta1

Prepare 1.1.0-beta1 release