【24h】

Property-based testing of sensor networks

机译:基于属性的传感器网络测试

获取原文

摘要

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.
机译:我们提倡在传感器网络领域中使用基于属性的测试,并提出一个框架来应用这种测试方法。我们的框架提供了一种表达力强的高级语言来指定各种属性,从单个函数的属性到网络全局属性,以及在Conoiki操作系统的网络模拟器Cooja中自动测试这些属性的基础结构。我们通过两个案例研究证明了我们框架的易用性和有效性。首先,我们测试无线电占空比协议X-MAC的能耗是否在某个特定范围内。基于属性的测试可以找到最少的网络配置,其中少数节点违反了该属性。基于属性的测试还表明,代替使用ContikiMAC,不会侵犯相同的属性,但是会发现ContikiMAC的能耗高于X-MAC的情况。在第二个案例研究中,我们测试了CONTIKI TCP套接字库的C API,并在其事件系统中发现了很难用其他方法检测到的错误。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号