Treffer: Unit Testing for Wireless Sensor Networks
Weitere Informationen
Unit testing is an important tool for validating software modules, particularly for wireless sensor networks (WSNs) where bugs are difficult to find and modular software is composed in numerous combinations. However, existing approaches can only test for events or state on a single node; they cannot evaluate distributed state. In this paper, we present a new unit testing framework that addresses this concern by defining tests as a single Python script that executes on the PC. This script automatically generates test programs, coordinates the inputs, and collects outputs from all nodes in the network. This approach allows validation of distributed state, while simulataneously reducing the amount of code needed to define a unit test. Categories and SubjectDescriptors