Quantcast
Channel: jwgrenning – James Grenning's Blog
Browsing all 17 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Inspiration from Leonardo da Vinci

While in Singapore, we visited the Leonardo da Vinci exhibit at the Marina Bay ArtScience Museum. We took the guided tour with expert from Milan. We think he was a Catholic priest by the roman collar....

View Article



Image may be NSFW.
Clik here to view.

Report from the field on TDD in embedded development

Thanks James. Upper management actually asked me to share my TDD experience as well & so I just published an article internally to our Embedded Software newsletter describing how TDD helped my...

View Article

Image may be NSFW.
Clik here to view.

TDD’s Impact on Testers

As programmers adopt test-driven development, they are going to prevent many defects that would have escaped to testers. Programmers that write unit tests just after programming are going to find many...

View Article

Image may be NSFW.
Clik here to view.

Faking it, FFF and Variadic Macro Madness

I spend the day updating the Fake Function Framework, Mike Long’s (@meekrosoft) creation. With my client last week, one of the engineers had some problems with Visual Studio (don’t we all) and the...

View Article

Image may be NSFW.
Clik here to view.

I Object to Excessive Debug Code

I saw this picture on top of an article about some new web technology. What strikes me is that most this code has to do with debugging. It looks to me the programmers maintaining this code have...

View Article


Image may be NSFW.
Clik here to view.

Why do engineers dislike Agile?

Being one of the people that participated in the creation of the Agile Manifesto, I find myself very disappointed by the reaction of engineers to the question “Are you practicing Agile?” Their...

View Article

Image may be NSFW.
Clik here to view.

Preventing Brittle Tests (and Production Code)

Have you written unit tests only later to find they slow you down because your changes cause a lot of test breakage? You think, these tests are not living up to the promises I heard. So you toss the...

View Article

Image may be NSFW.
Clik here to view.

TDD Guided by ZOMBIES

Have you had a hard time figuring out where to start with Test-Driven Development. What if ZOMBIES could help you build code that does exactly what you think it is supposed to do? What if ZOMBIES at...

View Article


Image may be NSFW.
Clik here to view.

Cause and Effect – Foundation of TDD

Virtually every line of code is written in response to some failure. It often is a test failure, but might be a compilation failure, or a web page that does not exist. Through my 16 years of...

View Article


Image may be NSFW.
Clik here to view.

Damn, I used to think I was good at programming

I used to think I was good at programming. Since I started doing TDD in 1999, I’ve come to discover that I am not so good. I make a lot of little mistakes. Copy-paste is a specifically error-prone...

View Article

Image may be NSFW.
Clik here to view.

Linker Substitution in C – Limitations and Workarounds

Let’s say you have code that in some test cases you want the real code and other test cases you want a test double. In C, using link-time binding, you only get to have a single function with a...

View Article

Image may be NSFW.
Clik here to view.

Thoughts on TDD (After almost 20 years)

I used to think I was good at programming (1976–1999), then I started doing Test-Driven Development. Since then I discovered that I make mistakes regularly. TDD puts your mistakes in your face,...

View Article

Image may be NSFW.
Clik here to view.

Is SAFe safe for your organization? I don’t know.

If your definition of safe, is like “no one has even been fired for choosing IBM”, SAFe may be safe. Though, you really need to consider, will it help your organization improve? I hoped that Scrum...

View Article


Image may be NSFW.
Clik here to view.

In the beginning, there was no code…

…and it was good. Why is it that code starts out nice and deteriorates over time? What happened happened to make the code badness grow? Probably something joyous like the first order for a new product...

View Article

Image may be NSFW.
Clik here to view.

Responsibilities of the Test-Driven Developer in a Legacy Code Base

This is a follow-up question from an attendee of a recent TDD for Embedded C++ training course. What exactly is a person’s responsibility for unit testing when they go into existing untested code?...

View Article


Image may be NSFW.
Clik here to view.

Wrestle Legacy C and C++ into a Test Harness – Linker Errors

Getting started with TDD in C and C++ is challenging. On top of that, you have your whole product’s code base to start adding tests to. You don’t have time to stop all development and add tests to...

View Article

Image may be NSFW.
Clik here to view.

Self-Paced Training: TDD for Embedded C/C++

Hello Friends I am developing a series of self-paced training modules for Test-Driven Development for Embedded C and C++. The training modules will have exercises to cement the learning. I’ll offer...

View Article

Browsing all 17 articles
Browse latest View live




Latest Images