Articles about testing

Posts in 2023
  • Why you shouldn't rely only on end-to-end tests

    Wednesday, October 04, 2023 in Testing

    Featured Image for Why you shouldn't rely only on end-to-end tests
    Photo by [Eugene Tkachenko](https://unsplash.com/@eugene_tkachenko?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/TF47p5PHW18?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    As an experienced Android developer and tech leader, I’ve seen many teams try to solve stability and testing time problems by relying solely on end-to-end (end-to-end) tests. While end-to-end tests can be a valuable tool, they’re not a …

    Read more

  • Why you should start with one device for Android integration testing

    Wednesday, October 04, 2023 in Testing

    Featured Image for Why you should start with one device for Android integration testing
    Photo by [Dim Hou](https://unsplash.com/@dimhou?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/PfNzKoA5R4E?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    Introduction: As an experienced Android developer and tech leader, I’ve seen many teams make the same mistake when getting started with integration testing: they try to test their apps on too many devices. This is a mistake because it can be …

    Read more

  • Why you should always run UI tests on PRs before merging

    Wednesday, October 04, 2023 in Testing

    Featured Image for Why you should always run UI tests on PRs before merging
    Photo by [Lenny Kuhne](https://unsplash.com/@lennykuhne?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/jHZ70nRk7Ns?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    As an experienced Android developer and tech leader, I’ve seen many teams struggle to adopt integration tests (End-to-End tests with mocked API). There’s one key reason for this: tests that break, aren’t maintained, become outdated …

    Read more

  • When to skip end-to-end testing

    Wednesday, October 04, 2023 in Testing

    Featured Image for When to skip end-to-end testing
    Photo by [Susan Q Yin](https://unsplash.com/@syinq?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/Ctaj_HCqW84?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    As an experienced Android developer and tech leader, I’ve learned a lot about the importance of testing. However, I’ve also learned that there are times when it’s simply not worth the effort to write end-to-end (E2E) tests. E2E …

    Read more

  • Making Espresso Tests More Understandable and Reusable

    Wednesday, October 04, 2023 in Testing

    Featured Image for Making Espresso Tests More Understandable and Reusable
    Photo by [Kiwihug](https://unsplash.com/@kiwihug?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/cA4RWlZsXYQ?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    Introduction Espresso is a powerful tool for testing Android applications. However, it can be difficult to write Espresso tests that are both understandable and reusable. In this blog post, we will discuss a best practice for making Espresso tests …

    Read more

  • Improve your Android tests with better assertions

    Wednesday, October 04, 2023 in Testing

    Featured Image for Improve your Android tests with better assertions
    Photo by [Raquel Martínez](https://unsplash.com/@fiteka?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/SQM0sS0htzw?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    As an Android developer, you know how important it is to write good tests. Tests help you to ensure that your code works as expected and that it is free of bugs. One of the most common types of tests are assertions. Assertions check whether a …

    Read more

  • How to improve integration tests by using mock APIs to avoid scrolling

    Wednesday, October 04, 2023 in Testing

    Featured Image for How to improve integration tests by using mock APIs to avoid scrolling
    Photo by [Taylor Flowe](https://unsplash.com/@taypaigey?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/aXeVH4FcS1k?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    As an Android developer, I’ve spent a lot of time writing integration tests. Integration tests are important for ensuring that our code works as expected when it’s integrated with other parts of our app, such as the backend API or a …

    Read more

  • Beware of UI test abstractions

    Wednesday, October 04, 2023 in Testing

    Featured Image for Beware of UI test abstractions
    Photo by [USGS](https://unsplash.com/@usgs?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/hoS3dzgpHzw?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    As an experienced Android developer and tech leader, I’m often asked about the best way to write UI tests. One of the most common recommendations is to use an abstraction library, such as Kakao. These libraries can make it easier to write tests …

    Read more

  • Avoid using IDs in Espresso tests

    Wednesday, October 04, 2023 in Testing

    Featured Image for Avoid using IDs in Espresso tests
    Photo by [George Prentzas](https://unsplash.com/@georgeprentzas?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/SRFG7iwktDk?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    Introduction: Espresso is a powerful testing framework for Android apps. It allows you to write tests that interact with your app’s UI in a natural way. However, there are some best practices you should follow to write effective Espresso tests. …

    Read more