Back to the Future: Compose Previewing Your XML-Based Views!Jetpack Compose has transformed Android UI development with its declarative approach, making UI code simpler to write. One of its standout features is Compose Previews, which allows developers to instantly view how Composable functions will look on a...6 min read·sergiosastre.hashnode.devDec 17, 2024
Efficient Testing with Robolectric & Roborazzi Across Many UI States, Devices and ConfigurationsRobolectric is a popular UI testing tool from Google that enables running UI tests without a physical device or emulator. It supports most androidx.test APIs, like Espresso, ActivityScenario & FragmentScenario as well as ComposeTestRule. Robolectric ...10 min read·sergiosastre.hashnode.devNov 9, 2023
Write Once, Test Everywhere: Cross-Library Screenshot Testing with AndroidUiTestingUtils 2.0.0As observed in the previous blog post of this series, screenshot tests have a lot in common regardless of the library they're written with, namely: Setting the device configuration (e.g. Locale, Ui Mode, Font scale...) Setting the Subject Under Tes...9 min read·sergiosastre.hashnode.devPSep 15, 2023
A World Beyond Libraries: Cross-Library screenshot tests on AndroidAn Introduction to the Concept6 min read·sergiosastre.hashnode.dev1PAug 23, 2023
Top-notch stateful testing in Androidusing Jqwik testing library12 min read·sergiosastre.hashnode.dev1PAug 31, 2022