-
Why you shouldn't rely only on end-to-end tests
Wednesday, October 04, 2023 in Testing
Are you relying solely on end-to-end tests for your Android app? If so, you’re missing out on a number of benefits that you can get by using a combination of unit, integration, and end-to-end tests. In this article, I’ll explain why you shouldn’t rely only on end-to-end tests, and I’ll provide a specific solution that you can use to combine all three types of tests. This solution will help you to increase the stability of your app, reduce the time it takes to find and fix bugs, and improve the overall quality of your app.
-
Why you should start with one device for Android integration testing
Wednesday, October 04, 2023 in Testing
Are you new to Android integration testing? If so, you may be wondering how many devices you should test your app on. The answer is: start with one. Testing your app on multiple devices can be time-consuming and frustrating, especially if you’re just getting started. In this article, I’ll explain why it’s a good idea to start with one device for integration testing, and I’ll provide some tips for writing tests that are less likely to fail on different devices. If you want to learn more about how to get started with Android integration testing, I encourage you to read the full article.
-
Why you should always run UI tests on PRs before merging
Wednesday, October 04, 2023 in Testing
Want to improve the quality of your app and your business? Running UI tests on PRs before merging is a simple but effective way to do it. In this article, I’ll explain why UI testing is so important and how to get started.
-
When to skip end-to-end testing
Wednesday, October 04, 2023 in Testing
End-to-end testing is important, but it’s not always worth the investment. Learn when to skip E2E testing to save time and money without sacrificing quality.
-
Making Espresso Tests More Understandable and Reusable
Wednesday, October 04, 2023 in Testing
Do you write Espresso tests? If so, you need to read this article! In this article, we will discuss a simple best practice for making Espresso tests more understandable and reusable: encapsulating complex matchers in functions. This can lead to a number of benefits, including increased developer productivity, reduced bug count, and improved test coverage. So if you want to write better Espresso tests, be sure to read this article!
-
Improve your Android tests with better assertions
Wednesday, October 04, 2023 in Testing
Write better Android tests with better assertions Better assertions can help you find bugs earlier in the development process, reduce the time it takes to release new features, and improve customer satisfaction. In this blog post, you’ll learn how to use better assertions to improve the quality of your Android tests.
-
How to improve integration tests by using mock APIs to avoid scrolling
Wednesday, October 04, 2023 in Testing
Do your integration tests involve scrolling? If so, you’re making your life harder than it needs to be. By using mock APIs to avoid scrolling, you can make your integration tests easier to write, maintain, and debug. This can lead to improved test coverage, reduced development time, and improved quality. In this article, I’ll show you how to use mock APIs to avoid scrolling in your integration tests. I’ll also explain the positive business impact that this can have. If you want to write better integration tests, then this article is for you.
-
Beware of UI test abstractions
Wednesday, October 04, 2023 in Testing
Are your UI tests complex and difficult to maintain? If so, you’re not alone. Many developers use abstraction libraries to make UI testing easier, but these libraries can also make tests harder to understand and debug. In this article, I’ll explain why you should use abstractions sparingly in UI testing. I’ll also show you how to write simple UI tests that are easy to understand, maintain, and debug. If you’re serious about improving the quality of your UI tests, then you need to read this article.
-
Avoid using IDs in Espresso tests
Wednesday, October 04, 2023 in Testing
Avoid using IDs in your Espresso tests to make them more readable, flexible, and maintainable. Learn how in this article. This description is also short and to the point, but it includes a call to action at the end, which encourages visitors to click on the article and learn more.