Adithya Aggarwal
Co-founder & CTO
Eight years building search and delivery systems at Amazon. The kind of scale where flaky tests block billion-dollar releases. Now CTO at Pie, building AI agents that adapt when your UI changes.
Writes about:
Articles by Adithya
Regression Test Selection: How to Run Fewer Tests Without Missing Failures
Regression test selection always has a change it cannot see. Pick tests per change and audit your selector against a full run so it misses no failures.
Regression Testing in CI/CD: What Runs on Every PR and What Waits Until Tonight
A green pull request and a red nightly run mean checks sit in the wrong lane. Give each lane a time budget and an owner so breaks surface at the PR.
Test Automation Best Practices: Run a Suite Your Team Still Trusts
Passing tests do not prove a suite works. Six practices for running test automation once it exists, from independence and data to flakes, owners and retirement.
Unit Testing vs Regression Testing: Which Bug Does Each One Catch?
A unit test can pass while the product breaks. See where unit and regression testing differ, and run one example in which a single test does both jobs.
How to Gate AI-Generated Pull Requests Before They Merge
A coding agent can turn a red build green by editing the build. Set up a merge gate it can't edit, with a running-app test before a person approves.
Scenarios vs Tests: How to Stop Coding Agents From Grading Their Own Work
A coding agent can rewrite any test it can read. Here is how scenarios kept out of its reach check the built app, and where they still miss.
Testing AI-Generated Code: What Actually Catches the Bugs
AI models write code that runs far better than code that is safe. How to test what they write, why their own tests miss, and what scales as volume climbs.
What Is Integration Testing? How It Works, Types, and the Mocking Trap
An integration test that mocks its own seam passes without ever crossing it. See what integration testing checks and where a mock can safely sit.
How to Migrate From Selenium to Playwright: A Step-by-Step Guide
The clicks and fills port fast. The wait helpers are where Selenium migrations stall. How to move a suite to Playwright flow by flow and keep coverage.
How to Test Date Pickers End-to-End Without Tying Tests to One Widget
A date-picker test tied to one widget's markup breaks when the widget changes. Drive native inputs and custom calendars, and assert the date your app stores.
How to Test Login and Authentication Flows End-to-End
A passing login test checks one state of eight. Test wrong passwords, lockout, session expiry, refresh, and logout end to end, and see what session reuse hides.
How to Test Biometric Authentication in Mobile Apps (Face ID, Touch ID, Fingerprint)
A passing fingerprint proves the path that already worked. The bugs ship in re-enrollment, backgrounding and the passcode fallback. Here is how to test each one.
How to Test a React Native App in 2026: The Full Pyramid, and Where Teams Stall
Jest and RNTL cover units and components in an afternoon. The end-to-end layer is where React Native suites rot. Here is the full stack, and how to get past it.
Claude Code for QA Testing: Run the Numbers Before You Build
Claude Code can test your app in week one. The false alarms arrive as the suite grows. Run your own numbers before you build QA on it.
How to Add Tests to a Legacy Codebase With Zero Coverage
Legacy code rarely has the seams unit tests need. Put a characterization net around it from the outside first, then refactor and test inward.
How to Run Mobile App Tests in CI/CD: 7 Steps for iOS and Android
Mobile CI needs a Mac for iOS, signing for device builds and an emulator that boots slowly. Seven steps, with working GitHub Actions YAML for both platforms.
How to Test Deep Links and Universal Links on iOS and Android
Deep link tests can pass while real links open the browser. Test the OS routing step on iOS and Android, from association files to deferred installs.
How to Test a Mobile App Under Poor Network and Offline Conditions
The worst network bugs surface when the connection comes back. Simulate each condition on iOS and Android, assert the recovery, and keep those tests stable in CI.
How to Test Payment and Checkout Flows End-to-End (Without Flaky Tests)
The card field sits in the gateway's iframe and 3D Secure opens a second one. Here is how to test checkout end-to-end in test mode without a real card.
How to Test Role-Based Access Control (RBAC) End-to-End Without a Stale Permission Matrix
Access-control tests stay green long after they stop testing anything. Assert every role against every permission, at the API, and keep the matrix current.
How to Automate Regression Testing Without Drowning in Maintenance
Regression automation often stalls the first time a UI change turns the suite red. Here are five steps to automate regression testing so the suite keeps up.
How to Test Drag-and-Drop When Your Test Passes but Nothing Moves
A drag-and-drop test can pass while the card never moves. Find which drag your app uses, drive it in Playwright, Cypress, or Appium, and assert the drop.
How to Test File Upload and Download Flows End-to-End
A script cannot set a file input's value, so every test framework starts past the picker. Here is how to test uploads, dropzones, and downloads anyway.
How to Test App Upgrades and Data Migration on iOS and Android
A fresh install never meets the data your users already have. Test the iOS and Android upgrade path, where migrations break, on every release candidate.
How to Test Error Handling End-to-End: Force the Failure
Error handling is the part a green suite never runs. Force a 500 in an end-to-end test, then assert the user sees what went wrong and the app recovers.
How to Test Infinite Scroll and Lazy Loading End-to-End
Infinite scroll and lazy loading tests flake because the list loads late and recycles its own rows. Wait on signals and assert invariants, not element counts.
How to Test Pagination End-to-End (UI and API): Assert Invariants, Not Page Numbers
Pagination tests flake because they assert which rows sit on page two, and that moves with every insert. Assert four invariants instead, with UI and API code.
How to Test Feature Flags End-to-End Without Flaky Tests
Feature flag tests flake because the test does not own the flag state. Pin the flag per test, cover the states that ship, and skip the combinatorial matrix.
How to Test Multi-Step Forms and Wizards End-to-End (Without Flaky Tests)
Multi-step form tests break at the seams between steps. Test carried state, per-step validation, and step transitions without flaky waits.
How to Test OAuth and SSO Login Flows End-to-End in CI
Mocks and saved sessions skip the Google or Okta handoff, where logins break in production. Test the real flow in CI and know what to do when it is blocked.
How to Test Search Functionality End-to-End (Without Flaky Tests)
Search tests flake when they pin the one thing search is built to change, the result list. Assert invariants, seed the index, and wait on results instead.
Cypress vs Selenium vs Playwright: Which to Pick in 2026, and the Bill All Three Share
Cypress, Selenium, and Playwright compared on architecture, speed, flakiness, and languages, plus the selector upkeep all three still leave with your team.
Real Device vs Emulator vs Simulator: Which Should You Use for Mobile Testing in 2026?
Simulators and emulators each fake half of a phone, so a green suite can still ship hardware bugs. We cover what each one reproduces, misses, and costs.
How to Test AI Features: Reliable Tests for Non-Deterministic Output
An LLM feature never returns the same string twice. Here are the assertion patterns that make it testable in CI, and the judge problem nobody warns you about.
How to Test Push Notifications on iOS and Android
Push testing carries one piece of folklore, that you need a real device. Two platform changes made it false. What now runs on a simulator and in CI.
How to Test Real-Time and WebSocket Features End-to-End (Without Flaky Tests)
Real-time tests flake when a pushed message is treated like a request you can wait out. The test setup that makes WebSocket flows deterministic in CI.
How to Test Webhooks End-to-End (Without Flaky Tests)
Most webhook guides prove the callback arrived. They never prove it did its job. Here is the architecture that tests the outcome, deterministically, in CI.
How to Test Time-Dependent and Timezone Features End-to-End (Without Flaky Tests)
Time-dependent tests flake because they read the clock instead of controlling it. How to fake time, cover the DST and timezone cases, and keep the suite green.
How to Set Up Test Accounts and Rate Limits for Automated Testing
Set up a test identity per role, size the login budget a run needs, and raise the limit for that identity only, so automated tests stop locking themselves out.
How to Prepare Test Data and Feature Flags for PR Testing
Correct code fails a PR test when the preview has no data or the flag never reached the test identity. Seed a profile, turn on the flag, gate the run, tag Pie.
How to Build a Preview Environment for PR Testing
Set up a preview environment that holds the whole change and proves it is ready, so the first PR test reaches the feature. Scope, deploy, manifest, verify.
XCUITest vs Appium in 2026: Pick the Layer, Not the Engine
On iOS, Appium does not replace XCUITest. It drives it through WebDriverAgent, so the real choice is about layers, speed, and the locators neither one removes.
WebdriverIO vs Selenium in 2026: One Protocol, Two Packages
Choosing between WebdriverIO and Selenium feels like picking an engine. Both drive the browser over the same W3C protocol, so the real call is packaging.
Detox vs Maestro in 2026: Gray-Box Depth or Black-Box Reach?
Detox compiles into your app and Maestro drives it from outside. How that one split changes flakiness, setup, and the identifier upkeep neither one removes.
Best Playwright Alternatives in 2026, Sorted by What Breaks a Test
Swapping Playwright for another framework moves your maintenance bill without lowering it. Seven alternatives compared on what makes each one break.
Sauce Labs vs BrowserStack: Which Should You Choose in 2026?
Sauce Labs vs BrowserStack compared on device coverage, frameworks, debugging, and pricing at scale, plus the AI features each vendor shipped in 2025-26.
Best Appium Alternatives in 2026: The Maintenance Trap Most of Them Miss
Compare the best Appium alternatives in 2026 by setup, platform reach, and test maintenance, so you can match the right tool to your team's real bottleneck.
How to Test Two-Factor Authentication (2FA) and OTP Flows End-to-End Without Flaky Tests
A one-time passcode is built to defeat automation. How to test 2FA and OTP flows end-to-end without flakes by fetching the code at its source, not the screen.
How to Test App Permissions on iOS and Android (Camera, Location, Notifications)
An iOS permission prompt appears exactly once, and that single rule is why most teams never automate permission testing. Here is how to make it reliable in CI.
Best Integration Testing Software in 2026 (Tested by Boundary)
Most integration suites mock the exact boundary that breaks. Compare the best integration testing software of 2026 by the boundary each tool exercises.
What Is Monkey Testing? How It Works, Types, and How to Automate It in 2026
Monkey testing fires random taps at an app to surface crashes scripted tests miss. See how it works and how AI agents turn blind randomness into judgment.
Cypress vs Selenium: Inside the Browser or Outside It?
Cypress and Selenium differ in where tests run, which fixes your languages, browsers and waiting. Compare both on cost and migration, then pick for your team.
How to Test Email Verification and Password Reset Flows End-to-End (Without Flaky Tests)
Email verification and password reset tests flake on the inbox, not the clicks. Here's the architecture that makes them deterministic in CI.
Puppeteer vs Playwright: How to Pick Without Regret
Puppeteer is a lean Chrome automation library and Playwright is a full cross-browser test framework. How to pick between them in 2026, and the cost both share.
Playwright vs Selenium: Why the Faster Framework Loses to Maintenance
Playwright is faster and less flaky; Selenium has the ecosystem. But both break on selector maintenance, the cost your framework choice barely touches.
What Is Test Observability? How It Works and Why CI Needs It
A failed test tells you something broke, not why. Test observability is the layer that explains failures, separates flaky from real, and points to the cause.
What Is AI Testing? How It Works, Types, and Tools in 2026
What AI testing is, how it works, the five main types, and how the 2026 tools compare on the maintenance work they take off your team.
What Is Mutation Testing? How It Works, Tools, and Why It Reveals Weak Tests in 2026
High coverage can hide weak tests. Mutation testing plants deliberate bugs to see if your tests catch them. How it works, the tools, and what the score means.
Appium vs Detox: Which Mobile E2E Framework Should You Choose in 2026?
Appium vs Detox compared on architecture, platform support, flakiness, and setup, plus the locator maintenance tax both frameworks still leave you paying.
Espresso vs XCUITest: Which Native Mobile Testing Framework Should You Choose in 2026?
Espresso and XCUITest are the native UI test frameworks for Android and iOS. Compared on speed, reliability, language, and CI, plus the cost of two suites.
Appium vs Selenium: Which Should You Choose in 2026?
Selenium automates web browsers and Appium automates mobile apps, from the same WebDriver roots. Where each one fits, and the selector upkeep neither removes.
What Is White Box Testing? Techniques, Types, and How It Compares
White box testing reads the source to catch dead branches and logic errors. The techniques, the coverage metrics, and how it differs from black box testing.
What Is Contract Testing? How It Works, Tools, and Where It Fits in 2026
Contract testing catches breaking API changes before services meet in a shared environment. Consumer-driven contracts, Pact, and where E2E testing takes over.
What Is Data-Driven Testing? How It Works, Frameworks, and Where It Breaks
One script, many inputs. How data-driven testing works, which frameworks support it, and where the data-table model hits its maintenance ceiling.
What Is Shift-Right Testing? How It Works and Pairs with Shift-Left
Catch what staging misses. Five shift-right testing techniques, how they pair with shift-left, and what each one is built to catch.
What Is Component Testing? Tools, Trade-offs, and Best Practices
Component testing renders one UI component in a real browser and checks it as a user would. The tools, the trade-offs, and where it sits beside unit and E2E.
What Is Unit Testing? How It Works, Types, and Where It Fits in 2026
Unit testing checks single functions in isolation, so logic bugs surface in milliseconds. How it works, which frameworks to use, and where E2E tests take over.
The Pre-Deployment Checklist: 10 Things to Verify Before You Ship
A 10-minute pre-deployment checklist for developers. 10 things to verify between merge and promote, plus what to hand off when time runs out.
What Is Smoke Testing? How It Works, When to Run It, and How to Automate It in 2026
Smoke testing runs a few checks to confirm a build works before deeper testing. How it works, how it differs from sanity tests, and how to automate it in CI.
What Is Visual Regression Testing? How It Works and How to Catch UI Bugs in 2026
Functional tests miss broken layouts and clipped text. How visual regression testing catches them, the tool types, and why pixel diffs raise false alarms.
Playwright vs Cypress: More Browsers or a Friendlier Debugger?
Playwright drives the browser from outside, Cypress runs inside it, and that one choice shapes Safari support and multi-tab tests. See which fits your team.
Regression Test Suite Template and 9-Step Build Guide
A regression suite stops helping the day nobody trusts it. Build one in nine steps, manual or automated, with a register, test case card and checklist to copy.
Autonomous Test Discovery: How It Actually Works
AI agents now explore apps on their own to find untested flows. Here's how autonomous test discovery works, where it wins, and what it still can't do.
Mobile App Testing Challenges: What's Really Breaking Your Tests
Device fragmentation, OS sprawl, gesture complexity, and test upkeep slow mobile releases. Ten challenges that break test suites, and how to get past each one.
Mobile Application Test Automation: How to Start and Which Tool to Pick
Mobile app automated testing breaks when IDs change under a screen that works. Set it up in five steps and pick a tool by what it costs to maintain.
Top 5 Mobile Testing Frameworks in 2026: Which One Fits Your Stack?
Appium, Detox, XCUITest, Espresso, and Maestro each solve a different problem and break in different ways. How to pick the right one for your stack in 2026.
Generative AI for QA: What It Does, Where It Falls Short, and Tools to Try
Generative AI is changing how QA teams write and run tests. What it does well, where it falls short, and how to judge the tools worth trying this year.
What Is Autonomous Testing? How It Works and Why It Matters in 2026
Autonomous testing uses AI to create, run, and repair its own tests. How it differs from automation, and why AI-written code makes it necessary now.
iOS vs Android Testing: Why You Need Both (And How to Share 90% of the Work)
Face ID and back gestures need platform-specific tests, and almost nothing else does. Where iOS and Android testing really differ, and how to share the rest.