In 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…)
Posts Tagged ‘TDD Device Driver’
Now I’ll really use test driven development to write device driver code
Thursday, March 6th, 2008Tags: 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 »