【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.
机译:我们主张在传感器网络领域的使用基于属性的测试和目前应用该测试方法的框架。我们的框架提供了一个表达高级语言来指定一个广泛的属性,从单个功能网络全局属性,以及基础设施的属性开始在Cooja,所述半自助旅游旅行社操作系统的网络模拟器自动测试这些性质。我们通过两个案例研究证明了易用性和我们的框架的有效性。在第一,我们测试无线电占空比协议X-MAC的能耗是否是一些特定的约束之内。基于属性的测试发现最小的网络配置,其中节点少数违反财产。物业为基础的测试也显示,当ContikiMAC来代替同一财产不受侵犯,但发现情况ContikiMAC具有比X-MAC更高的能源消耗。在第二个案例中,我们测试半自助旅游旅行社的TCP套接字库的C API,发现在其事件系统的bug,这将是很难用其它方法来检测。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号