...
首页> 外文期刊>Journal of Functional Programming >Runtime verification and validation of functional reactive systems
【24h】

Runtime verification and validation of functional reactive systems

机译:功能反应系统的运行时间验证和验证

获取原文

摘要

Abstract Many types of interactive applications, including reactive systems implemented in hardware, interactive physics simulations and games, raise particular challenges when it comes to testing and debugging. Reasons include de facto lack of reproducibility and difficulties of automatically generating suitable test data. This paper demonstrates that certain variants of functional reactive programming (FRP) implemented in pure functional languages can mitigate such difficulties by offering referential transparency at the level of whole programs. This opens up for a multi-pronged approach for assisting with testing and debugging that works across platforms, including assertions based on temporal logic, recording and replaying of runs (also from deployed code), and automated random testing using QuickCheck. When combined with extensible forms of FRP that allow for constrained side effects, it allows us to not only validate software simulations but to analyse the effect of faults in reactive systems, confirm the efficacy of fault tolerance mechanisms and perform software- and hardware-in-the-loop testing. The approach has been validated on non-trivial systems implemented in several existing FRP implementations, by means of careful debugging using a tool that allows the test or simulation under scrutiny to be controlled, moving along the execution time line, and pin-pointing of violations of assertions on personal computers as well as external devices.
机译:摘要许多类型的交互式应用程序,包括在硬件,交互式物理模拟和游戏中实施的无功系统,在测试和调试时提高了特殊的挑战。原因包括事实上缺乏自动生成适当的测试数据的重现性和困难。本文表明,以纯功能语言实现的功能反应性编程(FRP)的某些变体可以通过在整个程序的水平提供参考透明度来缓解这些困难。这为多管而出的方法打开了一种用于协助在跨平台上工作的测试和调试,包括基于时间逻辑,记录和重放运行(也来自部署代码)的断言,以及使用QuickCheck自动化随机测试。当与允许受约束副作用的可扩展形式的FRP组合时,它允许我们不仅验证软件模拟,而是为了分析反应系统中的故障的影响,请确认容错机制的功效,并执行软件和硬件循环测试。通过使用工具在若干现有的FRP实现中实现的非琐碎系统验证了该方法,该方法是使用允许在审查的审查下进行测试或模拟,沿着执行时间线移动,以及引脚指向违规的工具个人计算机的断言以及外部设备。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号