Property-Based Testing Of Sensor Networks

2015 12th Annual IEEE International Conference on Sensing, Communication, and Networking (SECON)(2015)

引用 5|浏览46
暂无评分
摘要
We advocate the use of property-based testing in the area of sensor networks and present a framework to apply this testing methodology. Our framework provides an expressive high-level language to specify a wide range of properties, starting from properties of individual functions to network-global properties, and infrastructure to automatically test these properties in COOJA, the network simulator of the CONTIKI operating system. We demonstrate the ease of use and effectiveness of our framework by two case studies. In the first, we test whether the energy consumption of the radio duty-cycle protocol X-MAC is within some specific bound. Property-based testing finds minimal network configurations where a small number of nodes violate the property. Property-based testing also reveals that the same property is not violated when ContikiMAC is used instead, but finds cases where ContikiMAC has higher energy consumption than X-MAC. In the second case study, we test the C API of CONTIKI's TCP socket library and find bugs in its event system that would be very hard to detect with other methods.
更多
查看译文
关键词
property-based testing,wireless sensor network,high-level language,network-global property,COOJA network simulator,CONTIKI operating system,energy consumption,radio duty-cycle protocol X-MAC,ContikiMAC,C API,TCP socket library
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要