首页> 外文会议>International workshop on computer aided systems theory >Using Logic Programming to Test Module Specifications in Early Stages of Software Development
【24h】

Using Logic Programming to Test Module Specifications in Early Stages of Software Development

机译:使用逻辑编程来测试软件开发的早期阶段的模块规范

获取原文
获取外文期刊封面目录资料

摘要

To build a complete software system, it is widely recognized that a proper decomposition of the system into modules can facilitate the software construction process. Such decomposition can be accomplished by modeling software modules as Abstract Data Types (ADTs). ADTs can be formally specified by using Bartussek and Parnas' TRACE. We investigate the feasibility and practicality of translating TRACE specifications into Prolog programs, keeping a TRACE-like format, in such a way that can actually be executed. Besides exercising the specification before any implementation, we can run both the actual implementation and the TRACE specification and then verify whether the implementation matches the specification. Additionally, we can partially avoid the maintenance of test-case databases as the specification itself will provide output according to a given input. An experiment has been carried out.
机译:为了构建一个完整的软件系统,众所周知,系统将系统的正确分解成模块可以促进软件施工过程。这种分解可以通过将软件模块建模为抽象数据类型(ADTS)来实现。 ADT可以通过使用Bartussek和Parnas的迹象来正式指定。我们调查将跟踪规范转化为Prolog程序的可行性和实用性,以实际执行的方式保持轨迹样格式。除了在任何实现之前锻炼规范外,我们还可以运行实际实现和跟踪规范,然后验证实现是否与规范匹配。此外,我们可以部分避免维护测试用例数据库,因为规范本身将根据给定输入提供输出。实验已经进行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号