Unit Testing Test Doubles and Exploring the Mocking Framework in Kotlin | by Haitham Ayyash | Aug, 2022

An in-depth guide to this helpful program Photo by Mari Helin on Unsplash If you don’t know anything about unit testing, you can look at my previous articles: The Basics of Android Unit Testing and Android Unit Testing — Choosing Naming Convention and Test Cases. Test Doubles are used to substitute external dependencies for the … Read more

Playwright: Test Automation You Must Know

If you love to automate and test applications, you have good news. A new tool is there in the market to grab your attention and satisfy your needs for test automation. Playwright is an open-source, powerful, and reliable framework to perform end-to-end automation testing of modern web applications. It is filled with features like Cross-browser … Read more

How to Upgrade TiDB Safely

As a fast-growing open source NewSQL database, TiDB frequently releases new features and improvements. If you are a TiDB user, you may have found it hard to decide whether or not to upgrade your version. You may have also wondered how to make your upgrade journey safer, smoother, and even unnoticed by business. On the … Read more

What Are Ephemeral Environments? – DZone DevOps

Ephemeral environments are a growing trend because they can replace or reduce the time spent in staging environments, thus significantly cutting down on development costs. In this article, we’ll cover ephemeral environments, their benefits in the development cycle, and how Environment as a Service enables fast and reliable deployment. What Are Ephemeral Environments? Just like … Read more

Build Tier 1 Service that Is Resilient to Outages

Tier 1 services are critical to a company’s profitability. They address the primary use cases for the organization’s products or support its underlying vital infrastructures, such as a product search service for an e-commerce site, a content posting service for a social media app, or a payment processing framework. Building a robust Tier 1 service, … Read more

Externalize Microservice Configuration With Spring

In a microservices system, we might need or want to externalize configuration so that we can abstract sensitive data or credentials outside the applications. We can do something like this with Docker Compose, but the compose file often contains values ​​for multiple services together. We probably want further separation and limited access. This is where … Read more

Debugging a Wordle Bug – DZone Cloud

I have a confession: I’m addicted to Wordle. Especially now that it’s out of style and people don’t post about it. I love that it’s short, I can solve one word, and then it’s gone. I don’t feel bad about the addiction and wasting my time with any game. This cloud debugger tutorial is an … Read more

Best Jira Add-ons for the Cloud

Do you know how they say there’s an app for everything nowadays? Well, I just went through the catalog on the Atlassian Marketplace. While not completely sold on the previous statement, I do find myself believing that there’s definitely an add-on for anything you’d want Jira to do. And for the things you never knew … Read more

java – Test if Spotify is paused using the Android SDK, and store that in a variable accessible from everywhere?

I have a beginner’s understanding of C++ and have no prior experience with Java. I’ve been following https://developer.spotify.com/documentation/android/quick-start/ and started coding an app to control Spotify playback. The issue I’m running into is that I can’t figure out how to create a boolean variable that simply sets itself to true or false based on whether … Read more