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

Releases: Shopify/android-testify

1.0.0 Stable

03 Mar 15:22
848461d

Choose a tag to compare

1.0.0-rc3 was promoted to stable 1.0.0 release without further changes 🎉

1.0.0-rc3

26 Jan 19:36
b8cd0f4

Choose a tag to compare

1.0.0-rc3

Library

Changes

  • ScreenshotUtility is now public
  • ScreenshotBaselineNotDefinedException now reports the expected device key

Added

  • Public method getRootViewId() has been added to ScreenshotRule

v0.1.0

26 Jan 00:17
c96531c

Choose a tag to compare

[0.1.0]

Added

  • You can now invoke Testify commands from the class level.
  • Menu items now have icons.

Changed

  • Reworded the menu items for clarity.

Updated

  • Upgraded gradle from 6.5.1 to 6.8.1
  • Upgraded kotlin-reflect from 1.4.10 to 1.4.21

1.0.0-rc2

27 Oct 17:12
dfdb61a

Choose a tag to compare

1.0.0-rc2

Library

Bug fixes

  • Increase the timeout values on orientation change. Addresses various Failed to apply requested rotation and Activity did not resume errors when invoking setOrientation.

Updates

  • Android Gradle Plugin to 4.1.0
  • Gradle Wrapper to 6.5

Gradle Plugin

Bug fixes

  • Access task names lazily via names property. We were previously accessing task names in a way which resulted in early configuration of tasks resulting in Gradle failing to sync on the latest versions of Gradle and Android Gradle Plugin when custom lint checks were used in a project. Likely related to https://issuetracker.google.com/issues/67482030#comment2.
    Use the TaskContainer.names which doesn't cause all tasks to be resolved immediately.

Sample App

  • Update Sample application to use a Pixel 3a API 30 baseline emulator.

v0.0.2

27 Oct 15:26
a4b63fe

Choose a tag to compare

Merge pull request #177 from DanielJette/plugin-support-as-4.1

Properly support Android Studio 4.1

1.0.0-rc1

04 Sep 20:03
fab273f

Choose a tag to compare

1.0.0-rc1

Changes

Library

Bug fixes

  • Fix #138
    Introduce the setFocusTarget method on ScreenshotRule which allows for keyboard focus to be placed on an explicit View.

  • Fix #165
    Increase the timeout on the ActivityLifecycleMonitor to 5 seconds to allow for the rotation to complete.
    Deregister the lifecycle callback.

  • Fix #166
    Replace the existing FuzzyCompare algorithm with CIEDE2000. Calculate the colour difference value between two colours in lab space.
    The CIELAB color space (also known as CIE L* a* b* or sometimes abbreviated as simply "Lab" color space) is a color space defined by the International Commission on Illumination (CIE) in 1976.
    It expresses color as three values: L* for the lightness from black (0) to white (100), a* from green (−) to red (+), and b* from blue (−) to yellow (+).
    CIELAB was designed so that the same amount of numerical change in these values corresponds to roughly the same amount of visually perceived change.
    The CIE calls their distance metric ΔE * ab where delta is a Greek letter often used to denote difference, and E stands for Empfindung; German for "sensation".
    If deltaE < 1 then the difference can't recognized by human eyes.

Plugin

Changed

  • The gradle plugin has moved to Plugins/Gradle

v0.0.1

14 Jul 20:42

Choose a tag to compare

Release 0.0.1 to production channel

1.0.0-Beta5

30 Jun 03:02
c4acbc7

Choose a tag to compare

1.0.0-beta5

Library

New

  • Add defineExclusionRects method to ScreenshotRule. You can now use defineExclusionRects to exclude regions from a bitmap comparison.

Updates

  • Android Gradle Plugin to 4.0.0
  • AndroidX Junit to 1.1.1
  • AndroidX Test Rules to 1.2.0
  • Kotlin to 1.3.72
  • Mockito to 3.3.3

1.0.0-beta4

17 Jun 20:34
26aa8b4

Choose a tag to compare

Plugin

New

  • Added autoImplementLibrary member to the testify extension. Defaults to true.
    When set to false, prevents the Plugin from automatically adding a Library androidTestImplementation dependency to your project.
    This is useful for local debugging or if you require a different version of the library and plugin.

Library

Bug fixes

  • Fixed issue #153 - Orientation change will now be reliably applied regardless of how many times you invoke setOrientation in a single test class.

1.0.0-beta3

11 Jun 21:04
a2ee26d

Choose a tag to compare

Merge pull request #152 from Shopify/151-fix-plugin-locale

Fixed issue #151. Plugin correctly displays Locale string with an underscore, not a dash. e.g. `en_US`, not `en-US`