Unit Testing for Wireless Sensor Networks

Date Added: May 2010
Format: PDF

Unit testing is a software verification technique that validates software components in isolation of each other based on a test specification. Unit testing can be used at several different granularities, including individual functions, objects, or subsystems. In Wireless Sensor Networks (WSNs), the process of unit testing is complicated by several factors. First, many software modules for WSNs are tightly coupled with the hardware and therefore must be loaded onto a sensor node to be executed, which means that test programs must manage the trade-off between using software stubs to isolate a software unit, and verifying correct operation in a natural environment.