Archive for the ‘Agile Embedded’ Category
Thursday, June 2nd, 2011
Sometimes embedded developers have to use inline assembler instructions to get better control of the processor, or to improve performance. How should we deal with those when we’re doing TDD and testing off the target?
What’s the problem? The embedded asm statements cause compilation errors if the assembler instructions are not part of the off-target test platform instruction set. Also some of the instructions might not be legal in the test environment. This article shows how to insert a test double for the asm directives with gcc and CppUTest.
(more…)
Tags: Test-driven Development for embedded C
Posted in Agile Embedded, Embedded, Embedded TDD, TDD, Test Driven Development, Unit Testing | No Comments »
Friday, May 28th, 2010
At the start of a new development effort, there is considerable uncertainty. There are unknowns in hardware, software, product goals and requirements. How can we get started with all this uncertainty? Isn’t better to wait? If you wait, there really is no end to the waiting, so its better to get started sooner even though there will be some things you decide early that get changed later.
(more…)
Posted in Agile Embedded, Embedded, Evolutionary Design | No Comments »
Thursday, November 12th, 2009
One important realization on the journey from a BDUF approach to an iterative and agile approach is that design is never done. Designs evolve. The waterfall emphasis has been to unnaturally try to control software physics by imposing requirements freezes and burdensome change control. The process of developing software is part science and part creative. You are applying science toward the invention of something. Design is capturing knowledge both about what the end user need is, and one solution to that need.
(more…)
Tags: Embedded, Embedded Agile, Embedded TDD, TDD, Test Driven Development
Posted in Agile Development, Agile Embedded, Embedded TDD, Evolutionary Design | 1 Comment »
Tuesday, October 6th, 2009
A unit test harness’ job is to provide:
- A concise common language to express test cases
- A concise common language to express expected results
- A place to collect all the unit test cases for the project, system, or subsystem
- The facilities to run the test cases, either in full or partial batches
- A concise report of the test suite success or failure
- A detailed report of any test failures
Tags: TDD, Test Driven Development, test-driven-development-tdd
Posted in Agile Development, Agile Embedded, Embedded TDD, Test Driven Development, Unit Testing | No Comments »
Saturday, August 1st, 2009
Stories often start out too big. Big stories are a challenge, and it is not always obvious how to deal with them. Its important that stories be small enough to estimate, to fit easily into an iteration and to have a decent definition of done. This article explores why some stories don’t fit this mold and what you can do about it.
(more…)
Posted in Agile Development, Agile Embedded, estimation, User Stories, User Story | 9 Comments »
Wednesday, May 6th, 2009
Prior to the Deep Agile conference, I received a number of questions about getting people to change, to try new things. Change is hard. People need to be motivated to change. “If it ain’t broke, don’t fix it” they say. But there is always some things that are broken.
First there needs to be awareness/acceptance that there are problems to solve. Do a retrospective of the last release. Find the problems that people are passionate about. Try not have blame session. Build a logic chain from the problem to some solution you think will help. Get people to sign up to try the new approach for a month or two, not the rest of their lives. Iterations give a great opportunity for this kind of experimentation.
You have to try things, rather than just talk about them. I am not sure where this quote is from, but it is profound:
“It’s easier to act your way into thinking differently than to think your way into acting differently”
Read on for some specific questions, and my answers.
(more…)
Tags: Agile Embedded
Posted in Agile Development, Agile Embedded, Embedded TDD, Uncategorized | 1 Comment »
Tuesday, February 24th, 2009
Let’s say you were an embedded systems developer, and you were planning on attending a conference like the Deep Agile Embedded.
What questions would you hope you could get answers for at the conference?
What if you already knew it all but were sending your boss, co-worker, or CEO who needed to learn more, what would you want them to hear about?
Would you want to do some hands on Test Driven Development?
Here are some of the questions we have so far:
(more…)
Tags: Agile, Deep Agile Embedded, Embedded, TDD, Test Driven Development
Posted in Agile Development, Agile Embedded, Embedded TDD, Test Driven Development | 3 Comments »
Thursday, February 19th, 2009
The Microsoft Zune 30G had a well known crash to bring in the new year. Here is the snippet of code that is the alleged culprit, from one of MS’s suppliers (Freescale).
(more…)
Tags: device driver, Embedded Software, TDD, Test Driven Development, zune bug
Posted in Agile Development, Agile Embedded, Embedded TDD, Test Driven Development | 1 Comment »