Yonatan Kra

Yonatan Kra

Family, Code, Run

  • Blog
  • Planned Talks
  • About Me

Tag: tdd

Home / tdd
A cartoon illustration shows a friendly white and blue robot with a green glowing antenna kneeling and using large green hedge clippers to cut through tangled, grey, dead vines. The vines are labeled "legacy code" in dark blue text. As the robot clears the dead vines, healthy, vibrant blue plants with glowing leaves are springing up from the ground. More "legacy code" text is visible near the remaining tangled mess, and the word "code" appears near the new plants. The background is a plain, light grey color.

Busting Legacy Code with AI Agents and Test Driven Development

November 25, 2025November 25, 2025 Yonatan KraLeave a Comment on Busting Legacy Code with AI Agents and Test Driven Development

Introduction

How to eliminate legacy code? Martin Fowler and Michael Feathers both agree that lack of tests are core factor in legacy code. With AI agents, tackling legacy code and turning it into “evergreen” code is easier than ever.

What

…
Read More
human approves tests vs AI

Meaningful Tests: Human Hubris vs. AI

September 9, 2025September 9, 2025 Yonatan KraLeave a Comment on Meaningful Tests: Human Hubris vs. AI

What makes a test meaningful? How can tests shape better architecture? And what roles do humans and AI play?

A few years ago I made a comment in a code review about a test description. That simple remark evolved into …

Read More
Live coding an open source feature

Live Coding an Open Source Feature

March 12, 2023March 12, 2023 Yonatan KraLeave a Comment on Live Coding an Open Source Feature

How do I approach a new feature in an open source project? How do I TDD a frontend feature? What do we use for cross-browser testing? All this and more in this live coding session recording

This is the recording …

Read More
Magic Trick to Write Effective Tests

The One Trick to Writing Effective Tests

February 20, 2023February 20, 2023 Yonatan KraLeave a Comment on The One Trick to Writing Effective Tests

How do you know your test is effective? How do you know your test protects you from breaking changes? And how can you do TDD without doing TDD? The best distillment of TDD taken from a TDD workshop in JFokus.…

Read More
Chrome Extension to style social media text

How to Build a Chrome Extension that will Make Your Facebook Posts Better?

August 31, 2022September 1, 2022 Yonatan KraLeave a Comment on How to Build a Chrome Extension that will Make Your Facebook Posts Better?

How to build a chrome extension, manipulate and interact with a page and publish it to the Chrome Web Store? Here’s how I created a Chrome extension that enables me to style the text in my posts and comments – …

Read More
The Coupling Pitfall on Slack

What is the Coupling Pitfall and how to Avoid it?

July 31, 2022August 1, 2022 Yonatan KraLeave a Comment on What is the Coupling Pitfall and how to Avoid it?

How to avoid constant tests maintenance and regressions in your code? In this article, we will talk about a new term “the Coupling Pitfall”, what harm it is doing to your code, and a way to fix it.

What are

…
Read More

I’m an instructor at:

Egghead.io

Follow Me On:

  • Follow me on Linkedin
  • Follow me on Bluesky

Recent Posts

  • Busting Legacy Code with AI Agents and Test Driven Development
  • Meaningful Tests: Human Hubris vs. AI
  • What can we learn from building a BlueSky web component bot?- Part 1
  • How to Remove a Secret Token from Your Git History
  • How to Deploy Static Websites with Nx, GitHub, and Cloudflare?
  • Busting Legacy Code with AI Agents and Test Driven Development
  • Meaningful Tests: Human Hubris vs. AI
  • What can we learn from building a BlueSky web component bot?- Part 1
  • How to Remove a Secret Token from Your Git History
  • How to Deploy Static Websites with Nx, GitHub, and Cloudflare?
  • Implementing Your Own SSR Server for Web Components

Categories

  • Algorithms
  • Architecture
  • AskQL
  • Blogging
  • canvas
  • chrome extensions
  • CodeTalks 2019
  • Coding
  • Conferences
  • ConfrontJS
  • ConfrontJS 2019
  • Cypress
  • debugging
  • Design Patterns
  • devops
  • docker
  • Flutter
  • Gaming
  • Github
  • github actions
  • GraphQL
  • Interview Questions
  • Javascript
  • javascript engine
  • Javascript Israel
  • jest
  • Memory
  • Meta Programming
  • Musings
  • nodejs
  • NPM
  • nx
  • Open Source
  • Performance
  • Playwright
  • Rust
  • Security
  • Skills
  • Tauri
  • Tauri Demo
  • Testing
  • tutorials
  • typescript
  • Uncategorized
  • vivid
  • WarsawJS
  • Web Component
  • webpack
| beetech by Buzthemes.