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…)
Posts Tagged ‘Embedded TDD’
Agile Design and Embedded
Thursday, November 12th, 2009Tags: Embedded, Embedded Agile, Embedded TDD, TDD, Test Driven Development
Posted in Agile Development, Agile Embedded, Embedded TDD, Evolutionary Design | No Comments »
Three Steps to less duplication
Wednesday, March 26th, 2008Like I said in my previous blog, doing all this embedded C makes me miss constructors. I’ve got a three step plan to make the lack of constructors less painful. In the previous article, we discussed the problem of duplicate setup data, and all the duplicate effort to go along with it. In this article I’ll tell you what we’re doing about it.
(more…)
Tags: C, CppUTest, Embedded TDD, TDD C, Test Driven Development, Test Driven Development C
Posted in Embedded TDD, Test Driven Development | No Comments »
I miss constructors
Thursday, March 13th, 2008I’m working with a few teams evolving a large complex legacy embedded C application. (Whoa! That is a lot of modifiers on application.) We are trying to get unit tests in place. I think there is some 20 year old code here. And this application is not going away anytime soon. So adding tests is critical to keeping the application running and making it more maintainable for the years to come. The biggest challenge (so far) is getting the setup and initialization code together to allow a unit test to run. The first test is a bear. Once we get one going its much easier to get others going in the same area.
(more…)
Tags: C, CppUTest, Embedded TDD, TDD C, Test Driven Development, Test Driven Development C
Posted in Embedded TDD, Test Driven Development | No Comments »
Now I’ll really use test driven development to write device driver code
Thursday, March 6th, 2008In the last article, I added tests to existing code. So I did not really do Test Driven Development. I did Test After Development. Let’s do some TDD now and design the block erase function. I’ll go from the spec, to the test to the code.
(more…)
Tags: Embedded, Embedded Agile, Embedded TDD, TDD, TDD Device Driver, Test Driven Development
Posted in Embedded TDD, Test Driven Development | 7 Comments »
Who says you can’t test drive a device driver?
Sunday, February 17th, 2008I keep hearing that you can’t write unit tests for device drivers. I don’t believe that’s true. To disprove this claim, I thought I would find a device driver and write some unit tests for it. This blog posting shows what device driver unit tests look line.
Tags: Embedded, Embedded Agile, Embedded TDD, TDD, TDD Device Driver, Test Driven Development
Posted in Agile Embedded, Embedded TDD, Test Driven Development | 2 Comments »