[Tinyos-devel] TUnit Safe Mode

Philip Levis pal at cs.stanford.edu
Thu Jul 17 16:23:43 PDT 2008


On Jul 17, 2008, at 3:32 PM, David Moss wrote:

> The TUnit machine has now been fixed and upgraded to run tests in  
> both safe and non-safe mode.  I have nesc 1.3 beta 6 installed on it.
>
> http://www.lavalampmotemasters.com/reports/html/index.html
>
> If you would like to add unit tests to be run on this public  
> automated regression test bed, just get access to the tinyos-2.x- 
> contrib/tunit/tests directory and upload your tests.  They will be  
> checked out and executed, and results will be posted on the website  
> when they’re available.   Automated regression testing isn’t limited  
> to the tinyos-2.x repository.  You can add unit tests for modules  
> that are in tinyos-2.x-contrib, as I have done for some of my other  
> projects.

Having regression tests for safe TinyOS (tsafe) is a big win: it means  
that there's a built-in assert-like mechanism. They're exactly the  
kind of thing that lends well to automatic, long-term testing. Once we  
have tsafe fully incorporated, a good step for 2.1.1 might be to add  
tests.

Phil


More information about the Tinyos-devel mailing list