# Astronauts

Astro Technologies Indonesia - Medium

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Snapshot Testing Libraries for Android: Paparazzi vs Shot

DevFeed: [Snapshot Testing Libraries for Android: Paparazzi vs Shot](<https://devfeed.tech/articles/snapshot-testing-libraries-for-android-paparazzi-vs-shot-42189.md>)

Original publisher: [Read original article](<https://medium.com/astronauts-id/snapshot-testing-libraries-for-android-paparazzi-vs-shot-d3e7427ea534?source=rss----f54da6775e90---4>)

Author: Fajar Febriyan

Published: 2024-02-29T03:56:36Z

Content type: comparison

Language: en

Sources: [Astronauts](<https://devfeed.tech/sources/astronauts-id-medium.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [screenshot-testing](<https://devfeed.tech/topics/screenshot-testing.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [ui-testing](<https://devfeed.tech/topics/ui-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Framework](<https://devfeed.tech/topics/framework.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [compare](<https://devfeed.tech/tags/compare.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [developers](<https://devfeed.tech/tags/developers.md>), [screenshot-testing](<https://devfeed.tech/tags/screenshot-testing.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [ui-testing](<https://devfeed.tech/tags/ui-testing.md>)

### AI overview

This comparison explains snapshot testing for Android UI components and contrasts the Shot and Paparazzi libraries. It covers visual regression detection, cross-device consistency, setup, golden images, and verification.

### Source excerpt

What is snapshot testing? Snapshot testing, also known as screenshot testing, is an automated testing technique that captures screenshots of User Interface (UI) components and compares them against reference images. The idea is simple: we save a reference screenshot of a UI component in a known good state, and during testing, we capture a new screenshot and compare it to the reference. If these two images match, the test passes; if not, it fails. Comparing the golden image (real pineapple) with the image (pineapple illustration)Then why snapshot testing? According to the Testing Pyramid, UI testing, also known as, end-to-end testing is a type of testing recommended to be carried out in application development. UI testing is basically a mechanism meant to test the UI aspect of any software that users come into contact with. One way to do this is with a simple concept not requiring painful scenarios which is the snapshot testing. The image above is referenced from Martin Fowler's post regarding the Test Pyramid Snapshot testing is beneficial for various reasons: Visual Regression Detection: It helps identifying unintended visual changes introduced during development. Ease of Use: Writing snapshot tests is often simpler and more intuitive than crafting complex UI test scripts. Cross-Platform Testing: Snapshot tests can be used to ensure consistency across various Android devices and configurations. Let's dive into the libraries We chose to discuss and compare these 2 libraries because they have different methods and produce different results. Shot Shot is an open-source snapshot testing library developed by Pedro Vicente Gómez Sánchez. It integrates seamlessly with popular testing frameworks like JUnit and Espresso, making it a popular choice among Android developers. Paparazzi Paparazzi is another popular snapshot testing library developed by Cash App. It offers robust screenshot comparison and supports testing on a wide range of Android devices. How it works? Setup:

## When to Go Native: Astro's Journey from React Native to Native

DevFeed: [When to Go Native: Astro's Journey from React Native to Native](<https://devfeed.tech/articles/when-to-go-native-astro-s-journey-from-react-native-to-native-42190.md>)

Original publisher: [Read original article](<https://medium.com/astronauts-id/when-to-go-native-astros-journey-from-react-native-to-native-97f9a8b8bce7?source=rss----f54da6775e90---4>)

Author: Aldo Wachyudi

Published: 2023-11-23T16:12:18Z

Content type: article

Language: en

Sources: [Astronauts](<https://devfeed.tech/sources/astronauts-id-medium.md>)

Topics: [React Native](<https://devfeed.tech/topics/react-native.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [development](<https://devfeed.tech/tags/development.md>), [ios](<https://devfeed.tech/tags/ios.md>), [ios-app-development](<https://devfeed.tech/tags/ios-app-development.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mobile-engineering](<https://devfeed.tech/tags/mobile-engineering.md>), [quick-commerce](<https://devfeed.tech/tags/quick-commerce.md>), [react-native](<https://devfeed.tech/tags/react-native.md>), [software-development](<https://devfeed.tech/tags/software-development.md>)

### AI overview

A retrospective on Astro's decision to adopt React Native during its early, resource-constrained stage and its subsequent transition to native Android and iOS applications. The article explains how a shared codebase supported faster development and feature consistency across platforms, while noting that the migration decision was specific to Astro's customer-facing applications.

### Source excerpt

The Astro mobile engineering team is in the final stages of releasing native Android & iOS apps to production. As we say farewell to our React Native codebase, it's the perfect time to reflect on our year-long journey. I'll divide this retrospective into multiple articles. The first article will delve into the historical reasons behind our choice to adopt React Native and our eventual transition to native Android & iOS. Subsequent articles will explore the migration strategy, technical challenges we encountered, the final results on both platforms, and the future of mobile development at Astro. Before we continue, I must provide a disclaimer: the decision to migrate to native apps is specific to Astro's customer-facing applications. We remain open to the idea of using React Native for any future projects. As the saying goes in the crypto community, "Do your own research." What works well for us might not necessarily be the ideal solution for your product or organization. With that said, let's embark on this journey. Why did we choose React Native initially? In Astro's early days, every resource was inherently limited. It resembled the startup scenario often depicted in movies or TV series. Everyone did a little bit of everything and every decision carried weight and consequences. The term "team" actually meant a "one-man" army. Our primary mission was clear: launch Astro to the Play Store and App Store. We wanted to move fast and.. hoped things didn't break too often. ✌ This made hybrid app solutions, like React Native and Flutter, appealing. They promised a "write once, run everywhere" approach, enabling us to target both the App Store and Play Store with a single codebase. We've been leaning towards React Native, primarily because of our team's adeptness at React. But that is just one of several determining factors, which include: Unified Codebase for Both Platforms With a shared codebase, we ensure feature consistency across Android & iOS. This not only allows u