PodParley PodParley

Test Code Migration not Test Cases

Episode 27 of the The Evil Tester Show podcast, hosted by Alan Richardson, titled "Test Code Migration not Test Cases" was published on October 7, 2025 and runs 17 minutes.

October 7, 2025 ·17m · The Evil Tester Show

0:00 / 0:00

Should you use AI to help you migrate test automation code? And what should you actually migrate, the tests coverage hasn't changed. In this episode we discus show abstractions and AI can be used to migrate... and discuss when you shouldn't.

Welcome to The Evil Tester Show! In this episode, host Alan Richardson dives into the complex world of test automation migrations. Have you ever wondered what it really takes to move your automated test execution code from one tool or language to another—like switching from WebDriver to Playwright, or migrating from Java to TypeScript? Alan breaks down the pitfalls, challenges, and best practices you need to consider before taking the leap. He explains why migrating isn’t just about copying test cases, how abstraction layers can save you time and headaches, and why using AI and solid design principles can streamline your transition. Whether you’re facing unsupported tools, evolving frameworks, or strategic changes in your testing approach, this episode offers practical advice to plan and execute a seamless migration—without burying new problems beneath old ones.

00:00 Migration Challenges

02:43 Tool Evaluation

04:05 Migrating to Playwright: Considerations

06:00 Migration Process

06:25 Migrate: Easy First, Hardest Next

09:37 Effective Migration Strategies for Tests

10:23 Focusing Abstractions

14:39 Optimize Test Code Migration

15:44 Focus on Abstraction, Not Auto-Healing

**1. Why Migrate—And When You Really Shouldn’t** Before any big move, Alan urges teams to get their “why” straight. Is your current tool unsupported? Is your framework truly incompatible, or are you missing some hidden potential? Migrate for the right reasons and make sure your decision isn’t just papering over problems that could follow you to the next tool.


**2. Don’t Confuse Migration with a Rewrite** Too many teams treat migration like a rewrite—often with disastrous results. Alan emphasizes the importance of planning ahead, solving existing flakiness and coverage issues _before_ you move, and carefully evaluating all options (not just the shiny new tool you think you want).


**3. The Secret Weapon: Abstraction Layers** The podcast’s biggest takeaway: Don’t migrate “test cases”—migrate _abstractions_. If your tests are full of direct calls like `webdriver.openPage()`, you’ve got work to do. Build out robust abstraction layers (think page objects or logical user flows) and keep your tests clean. When it comes time to migrate, you’ll only need to move those underlying layers, not thousands of individual test case scripts.


**4. Taming Flakiness and the Risks of Retries** Migration is not the time to rely on self-healing tests or retries. Any test flakiness _must_ be rooted out and fixed before porting code. Bringing instability into a new stack only multiplies headaches later.


**5. Harnessing AI—But Stay in Control** AI-assisted migration really shines at mapping old code to new, but Alan warns against “agentic” (hands-off) approaches. Use AI as a powerful tool, not as the driver—you need understanding and control to ensure things work reliably in CI/CD pipelines.


**6. Learn Fast: Tackle the Hardest Stuff Early** Pro tip: Once you’re ready, start your migration with the simplest test, just to get going—then dive into the hardest, flakiest, most complex workflows. You’ll uncover potential blockers early and kick-start team learning.


“We’re not migrating test cases when we change a tool. We’re migrating the physical interaction layer with our application... ”

The Evil Dungeon Master Universe The Evil Dungeon Master The nefarious Evil Dungeon Master is here to share invaluable tips and tricks on Dungeons & Dragons, Palladium, and a myriad of other RPGs. Drawing from over 30 years of diabolical Dungeon Mastering Experience, these bite-sized daily podcasts (10 to 15 minutes each) are brimming with wicked wisdom that you simply can't afford to miss. Mostly system neutral, but has favored editions and game systems. Season 7 and beyond is all about AD&D! https://solo.to/theevildm for all my links! The Jones Townes Show The Jones Townes Show Coming to you from a bunker in (LOCATION REDACTED,) dropping MOABs of truth all over the evil globalist agenda. Join the fight patriots! Its about to get real.#FuckPatriotHole The Light Princess by George MacDonald Loyal Books A king and queen are in despair. After years of marriage, they are yet to be blessed with a child. Finally a lovely daughter is born to them. They plan a grand christening ceremony for the baby, but as destiny would have it, they forget to invite the nastiest lady in the kingdom, who also happens to be the king's sister, the evil Princess Makemnoit.Now if all that seems distinctly familiar to you, it was meant to! Using the Sleeping Beauty/Briar Rose fairytale as a starting point, Scottish writer George MacDonald creates a story that's even more enchanting and gives it a nice little twist. In The Light Princess, published in 1864, the cruel aunt Makemnoit curses her hapless niece to become bereft of gravity! The spell she chants says, “Light of spirit, by my charms. Light of body, every part. Never weary human arms. Only crush thy parents' heart!” by which the child begins to float all over the place.The slightest breeze could cause her to fly away. Her parents and the entire palac Cancel Third-Party Delivery Matt Klabacka Cancel third-party delivery podcast is all about how you can take back your restaurant from the evil empire of third-party delivery companies and move to a self-delivery platform. Matt Klabacka, owner of Townies Pizzeria and and Chief Technoker of deliverylink.co(sic) shares the latest news on third-party delivery along with his opinions in this space. If you want to learn the advantages of self-delivery as compared to third-party delivery companies then this podcast is for you.
URL copied to clipboard!