~/devreads

#tdd

8 posts

21 Jan 2024

Eric Elliott 13 min read

Writing testable code is a vital skill in software engineering. Let’s explore practical advice, strategies, and tactics for writing more testable code, unlocking the benefits of modularity, reusability, and high quality software in your projects. Embracing testability in your coding practice isn’t just about catching bugs; it’s about fostering a culture of quality and efficiency in your projects. A good…

tddtypescriptjavascriptreacttechnology

31 Dec 2023

Eric Elliott 13 min read

The world of JavaScript has evolved significantly, and interview trends have changed a lot over the years. This guide features 10 essential questions that every JavaScript developer should know the answers to in 2024. It covers a range of topics from closures to TDD, equipping you with the knowledge and confidence to tackle modern JavaScript challenges. As a hiring manager,…

typescriptjavascripttddreacttechnology

29 Sept 2019

Henrik Warne 4 min read

I like to use Test-Driven Development (TDD) when coding. However, in some circumstances, TDD is more of a hinderance than a help. This happens when how to solve the problem is not clear. Then it is better to first write … Continue reading →

programmingtestingtddtest-driven development

30 Apr 2018

16 Feb 2018

Junior Grossi 4 min read

Learn how to configure XDebug and PHPUnit in PHPStorm, allowing you to write better tests and fix bugs faster. Test Driven Development (TDD) is an old topic, I know, but it seems many people don’t understand how it makes you write better code. The point here is that one of the most important benefits it’s … Continue reading Using XDebug…

phptddxdebug

14 Jul 2017

11 Apr 2016

Dave Cheney 1 min read

What is the value of test driven development? Is the value writing tests at the same time as you write the code? Sure, I like that property. It means that at any time you’re one control-Z away from your tests passing; either revert your test change, or fix the code so the test pass. The nice property of this method…

programmingsmall ideastddtesting

8 Dec 2013

Henrik Warne 3 min read

Many programmers have a hard time writing good unit-tests for code that involves time. For example, how do you test time-outs, or periodic clean-up jobs? I have seen many tests that create elaborate set-ups with lots of dependencies, or introduce … Continue reading →

programmingtestingtddtest-driven developmenttime