arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0109019cs.SE
收藏

跟踪软件执行的设计覆盖率

Tracing Execution of Software for Design Coverage

Raimondas Lencevicius, Edu Metz, Alexander Ran

摘要:

测试套件旨在根据需求验证系统的操作。测试套件设计的一个重要方面是确保系统操作逻辑被完全测试。测试套件应该驱动系统通过所有抽象状态,以执行其操作的所有可能情况。这是一项艰巨的任务。代码覆盖工具通过提供有关在系统执行期间覆盖了源代码的哪些部分的信息来支持测试套件设计者。不幸的是,代码覆盖工具只产生源代码覆盖信息。对于测试工程师来说,理解源代码中未覆盖的部分的作用以及它们与需求的关系通常是很困难的。我们提出了一个通用的方法,提供了设计覆盖的执行软件简化新的测试套件的开发。我们展示了我们的方法,如状态图,活动图,消息序列图和结构图的共同设计抽象。我们使用第三眼跟踪和跟踪分析框架来实现设计覆盖。通过使用设计覆盖率,测试套件可以通过关注未测试的设计元素来更快地创建。

英文摘要:

Test suites are designed to validate the operation of a system against requirements. One important aspect of a test suite design is to ensure that system operation logic is tested completely. A test suite should drive a system through all abstract states to exercise all possible cases of its operation. This is a difficult task. Code coverage tools support test suite designers by providing the information about which parts of source code are covered during system execution. Unfortunately, code coverage tools produce only source code coverage information. For a test engineer it is often hard to understand what the noncovered parts of the source code do and how they relate to requirements. We propose a generic approach that provides design coverage of the executed software simplifying the development of new test suites. We demonstrate our approach on common design abstractions such as statecharts, activity diagrams, message sequence charts and structure diagrams. We implement the design coverage using Third Eye tracing and trace analysis framework. Using design coverage, test suites could be created faster by focussing on untested design elements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑