FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Why Testing After with AI Is Even Worse
How-ToMachine Learning

Why Testing After with AI Is Even Worse

via Dev.toMatti Bar-Zeev1mo ago

Back then, I wrote a piece about “ Why Testing After Is a Bad Practice ” where I laid out 4 main reasons why writing unit tests after the code is already implemented is a bad practice. Here’s a quick summary: Unconsciously complying with a given “reality” - Writing tests after tends to shape the tests around the existing code, and not challenge it or make sure it does what it should Emotional attachment to our code - You’ve already developed some emotional attachment to the code, and you unconsciously avoid changing it, even when required Overly mocking - Your code was poorly designed since nothing (mainly tests) required it to be modular and separated by concerns. This causes the tests written after to mock a lot of modules and services in order to test basic functionalities Gets neglected at the end - When you write tests after, they tend to get neglected due to project delivery considerations. These 4 main reasons still stand, but in the age of AI Agentic Coding, tests that were alw

Continue reading on Dev.to

Opens in a new tab

Read Full Article
30 views

Related Articles

The Boring Skills That Make Developers Unstoppable in 2026
How-To

The Boring Skills That Make Developers Unstoppable in 2026

Medium Programming • 9h ago

I Installed This VS Code Extension… and My Code Got Instantly Better
How-To

I Installed This VS Code Extension… and My Code Got Instantly Better

Medium Programming • 10h ago

The Age of Personalized Software
How-To

The Age of Personalized Software

Medium Programming • 12h ago

Automating Checkout Add-On Recommendations in WordPress for WooCommerce
How-To

Automating Checkout Add-On Recommendations in WordPress for WooCommerce

Dev.to • 12h ago

How-To

Start Here: Learning to develop your own way with SCSIC

Medium Programming • 16h ago

Discover More Articles