Agile Event Session

Embedded TDD: Test-Driving on Bare Metal

This video content is for Agile Alliance members only

If you’re already an active member, please log in now.

To view this content, and gain access to many more valuable resources, conference discounts, and invitations to exclusive networking and learning events, please consider becoming an Agile Alliance member.

Abstract/Description

Hey, do you like TDD? Maybe you, like me, think it’s the greatest thing since automated unit tests. Maybe you embrace the tried-and-true red-green-refactor development cycle instead of the code-fix-fix-debug-fix-really?-fix-FINALLY development cycle. Or maybe you’re not there yet. Maybe there’s some jerk on your team who is keeping TDD out of his codebase and you need ammunition to convince him otherwise. Regardless, you know there’s some merit to this whole ‘test-driven’ thing.

But what about embedded development, with its interrupts, event loops and watchdog timers; cramming as much as you can into as few bits as possible, it doesn’t seem like there’s room to test drive your code. As a result, your codebase becomes a cyclomatically complex rat’s nest of tangled ifs and whiles.

Well, just because you’re doing embedded work doesn’t mean you can’t TDD. With a few guidelines and a couple of shifts of perspective you can apply TDD to your embedded project. Not only do you get all of the benefits of TDD, but there are also benefits that are unique to the embedded experience!

Additional Resources

Add to Bookmarks Remove Bookmark
Add to Bookmarks Remove from Bookmarks
Add to Bookmarks Remove from Bookmarks

Speaker(s) may be willing to present this session at local group meetings and other events.

Agile Technical Conference
Video
Practicing

More Agile Event Session Videos

FP vs. OOP: Beyond the Bikeshed
In object-oriented languages like Ruby, people often say that “everything is an object”—but first-class functions have become standard for object-oriented languages too. C# has had them and other related features for years, and even Java is in the ga…
Testing Without Mocks: A Practical Guide
Are your tests slow or brittle? Do you get a sinking feeling when you need to refactor? Do you worry your unit tests aren't actually testing anything important? If so, you could benefit from exploring a mock-free approach to TDD. This session is a c…
Building Your Team to Last
Hiring and on-boarding new team members is an expensive and risky process. It's crucial to hire people who mesh well with the existing team and get them up to speed in a timely manner. Balancing this while minimizing the initial impact on productivit…
FP vs. OOP: Beyond the Bikeshed
In object-oriented languages like Ruby, people often say that “everything is an object”—but first-class functions have become standard for object-oriented languages too. C# has had them and other related features for years, and even Java is in the ga…
Testing Without Mocks: A Practical Guide
Are your tests slow or brittle? Do you get a sinking feeling when you need to refactor? Do you worry your unit tests aren't actually testing anything important? If so, you could benefit from exploring a mock-free approach to TDD. This session is a c…
Building Your Team to Last
Hiring and on-boarding new team members is an expensive and risky process. It's crucial to hire people who mesh well with the existing team and get them up to speed in a timely manner. Balancing this while minimizing the initial impact on productivit…

Have a comment? Join the conversation

Discover the many benefits of membership

Your membership enables Agile Alliance to offer a wealth of first-rate resources, present renowned international events, support global community groups, and more — all geared toward helping Agile practitioners reach their full potential and deliver innovative, Agile solutions.

Not yet a member? Sign up now