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
I stopped letting AI write tests after the code. Here's what happened.
How-ToWeb Development

I stopped letting AI write tests after the code. Here's what happened.

via Dev.to WebdevJose Luis Oronoz Troconis3h ago

The dirty secret of AI-generated tests Your AI coding assistant writes tests. Great. But when does it write them? After the code. After looking at the seeded data. After seeing the implementation. That's not testing. That's the AI confirming its own work. It's like grading your own exam — you'll always pass. Write the tests BEFORE looking at the data I built Don Cheli, an open-source framework where TDD is an iron law: Describe what you want Spec gets generated (Gherkin with acceptance criteria) Tests are written from the spec — the AI hasn't seen any data yet (RED) Code is the minimum to make tests pass (GREEN) Refactor The framework blocks you from advancing if tests don't exist first. No shortcuts. No // TODO: add tests later . But wait, there's more Before you even start coding: /razonar:pre-mortem — Imagine the project already failed. Why? Fix it now. /dc:estimate — 4 models estimate effort independently (COCOMO, Planning Poker AI, Function Points, Historical) /dc:debate — PM vs A

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
3 views

Related Articles

Building an MCP Server for Your Own Tools
How-To

Building an MCP Server for Your Own Tools

Medium Programming • 2h ago

[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One
How-To

[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One

Medium Programming • 3h ago

RHAPSODY OF REALITIES - 26TH MARCH 2026
"In Nehemiah’s day, as the people built the wall of…
How-To

RHAPSODY OF REALITIES - 26TH MARCH 2026 "In Nehemiah’s day, as the people built the wall of…

Medium Programming • 3h ago

How to Actually Make Money with a "Free" App
How-To

How to Actually Make Money with a "Free" App

Medium Programming • 3h ago

How-To

Building a Runtime with QuickJS

Lobsters • 4h ago

Discover More Articles