[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Regression tests
From: |
David Bourgeois |
Subject: |
[avr-gcc-list] Regression tests |
Date: |
Tue, 15 Nov 2005 11:40:44 +0100 |
User-agent: |
Opera M2/8.50 (Win32, build 7700) |
I've seen on the avr-libc-dev list that regression tests were used and on
avr-freaks[1] that one guy was building a test suite for his embedded
applications but he didn't tell anything about how to do it.
My question is wether it's possible or not to use regression tests for C
embedded applications. I can't imagine how this can work with hardware
related functions. What do you use it for in avr-libc developmment?
I coudn't find much information on the subject. I found some keywords like
Avrora, gdb serial protocol, MUL, dejagnu but couldn't get any clear idea
standing out of all this.
Thanks for any clarification,
David Bourgeois, still on his quest towards better programming :-)
[1]
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=25684&highlight=regression
"Build a test suite, as early as possible. Start small, and plan for
growth.
Add (at least) one new test for every new feature or resolved bug.
Make it easy and (reasonably) quick to run, so no one has an excuse
for not running it before Every check-in. I have been repeatedly
rescued by the Regression Test Suite when I've inadvertantly stuck my
elbow into something. Moreover, the very exercise of writing the tests
can help point out holes in the specification/design."
- [avr-gcc-list] Regression tests,
David Bourgeois <=