Skip to content

Refactor Testify Library to extract a Ktx module#269

Open
DanielJette wants to merge 4 commits intomainfrom
testify-ktx
Open

Refactor Testify Library to extract a Ktx module#269
DanielJette wants to merge 4 commits intomainfrom
testify-ktx

Conversation

@DanielJette
Copy link
Contributor

@DanielJette DanielJette commented Nov 15, 2025

Kotlin extensions for Android Testify, providing more idiomatic and helper APIs to work with screenshot testing in Android.

The new KTX library packages up a set of foundational utilities that originally lived deep inside Testify’s screenshot testing engine. These components are broadly useful for any instrumentation test suite. By extracting and stabilizing these internals, the library provides a standalone toolkit that improves the reliability, predictability, and ergonomics of your androidTest environment, even if you never call a screenshot API.

Why Use Testify KTX?

  • Adds idiomatic Kotlin helpers around core Testify APIs, reducing boilerplate.
  • Provides a simplified set of file I/O utilities for files on the emulator SD card, data/data directory, or Test Storage.
  • Includes utilities for working with annotations, device identification, and test instrumentation.
  • Allows you to use leverage the convenience of Testify without being coupled to the built-in capture and diff algorithms.

@DanielJette DanielJette force-pushed the testify-ktx branch 5 times, most recently from 0331a74 to e1a3956 Compare November 22, 2025 15:50
@DanielJette DanielJette changed the title Testify ktx Refactor Testify Library to extract a Ktx library Nov 22, 2025
@DanielJette DanielJette changed the title Refactor Testify Library to extract a Ktx library Refactor Testify Library to extract a Ktx module Nov 22, 2025
@DanielJette DanielJette force-pushed the testify-ktx branch 3 times, most recently from 5fc6ec4 to 9366c52 Compare November 22, 2025 23:51
@DanielJette DanielJette force-pushed the testify-ktx branch 2 times, most recently from 96bff71 to eefda21 Compare March 7, 2026 20:01
@DanielJette DanielJette marked this pull request as ready for review March 7, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant