TinyOS 1'2 - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

TinyOS 1'2

Description:

Allow refactoring and re-engineering - can throw out what's stale. ... Cookbook. How do I send information to a PC? How do I enable the radio? ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 7
Provided by: philip72
Category:
Tags: tinyos | cookbook

less

Transcript and Presenter's Notes

Title: TinyOS 1'2


1
TinyOS 1.2
  • Documentation Testing

2
Goal - Stable System
  • My role 80/20
  • Make TinyOS production quality
  • Open source version numbering odd minors
    development, evens stable.
  • Rules for check-in
  • Code tested
  • Code documented

3
Testing - Why
  • Software engineering mantra if it isnt tested
    it doesnt really work.
  • Tests
  • Contribute to (define?) stability.
  • Allow refactoring and re-engineering - can throw
    out whats stale.
  • Can document intent in a way code cant

4
Testing - How
  • Framework
  • QMTest (http//www.codesourcery.com)
  • Database, process control, text or web, open
    source.
  • Every test should encapsulate a problem.
  • Types of tests
  • Component Encapsulate conditionals (mocks)
  • Regression capture existing behavior. (Note
    want tests to show changes in behavior also!)
  • Functional Application/component behaves as
    expected under real conditions.
  • Stress Run for a long time, under staged adverse
    conditions.
  • Statistical Gather data for later analysis.

5
Testing - Examples
  • TinyOS
  • Out of resources
  • Resource conflicts
  • Proper wirings
  • Packet loss (regular or irregular)
  • Edge conditions!
  • NesC
  • GCC suite (C correctness)
  • NesC correctness
  • Regression testing.

6
Documentation
  • Component/function level (NesDoc)
  • Programmers manual
  • Reference manual
  • Tutorial
  • Cookbook
  • How do I send information to a PC?
  • How do I enable the radio?
  • How do I write a new radio?
Write a Comment
User Comments (0)
About PowerShow.com