Let's face it. Testing an open source embedded project like TinyOS is not easy. Formal TinyOS testing in the past has been done by getting a group of people together and running a basic set of applications on a few platforms to see if they pass or fail. This worked, but required volunteers' time, and did not offer a very high granularity of testing. If something were to break, how would you know where and when it happened? Informal testing was dependent on the TinyOS community. If something didn't work, the message boards were the place to make the problem known. Sometimes bugs are discovered, fixed, then rediscovered over and over. This makes it difficult for projects dependent upon the continuing reliability of TinyOS. Now we have something better. Although automated unit testing with TUnit doesn't promise to eliminate all bugs, it will help in improving the quality and robustness of the code developed by the TinyOS community. By having the ability to employ practices such as Extreme Programming and automated regression testing, the TinyOS baseline can become extremely stable, and stay that way. If your project depends on TinyOS, you generally have two choices:
Case #1 may not be the best choice, because bugs do lurk around source code. Pretending like they don't exist is naïve and may come back to bite you later down the road.
Case #2 may not be the best choice either, because TinyOS is an evolving project. Bugs will get fixed over time, but interfaces and architecture will also change, leaving your project incompatible.
So we offer both. Publically, TinyOS is tested here with users' unit tests. Privately, you can check out and employ TUnit for free in your own proprietary projects. This forms a solid foundation for TinyOS, as well as the reliability needed for your own code.
|
|
Copyright © 2007 Rincon Research Corporation. All rights reserved. LAVA®, LAVA LITE®, LAVA WORLD INTERNATIONAL® and the configuration of the
|