基于标记优先时间Petri网的时间测试用例生成
Timed Test Case Generation Using Labeled Prioritized Time Petri Nets
摘要:
软件和硬件系统的基于模型的测试使用系统的行为和形式模型。提出了一种基于模型的实时系统黑盒一致性测试技术,采用标记优先时间Petri网(LPrTPN)。定时输入/输出关联(tioco)关系,它考虑到环境假设,作为参考,以确定实现的正确性。测试套件是从LPrTPN自动派生的,LPrTPN由两个并发子网组成,分别指定被测系统及其环境。在测试用例具有最短可能的执行累积时间的意义上,结果是最优的。测试用例选择结合了测试目的和与模型相关的结构覆盖标准。在SE-LTL公式中规定了测试目的或覆盖标准。扩展了TINA Petri网分析器,使其支持并发组合Petri网.使用Tina工具箱自动生成时间最优的测试套件,结合了模型检查器selt和路径分析器计划。selt输出满足逻辑公式的序列。计划计算这个序列的最快执行,它将在测试用例套件中转换。
英文摘要:
Model-based testing of software and hardware systems uses behavioral and formal models of the systems. The paper presents a technique for model-based black-box conformance testing of real-time systems using Labeled Prioritized Time Petri Nets (LPrTPN). The Timed Input/Output Conformance (tioco) relation, which takes environment assumptions into account, serves as reference to decide of implementation correctness. Test suites are derived automatically from a LPrTPN made up of two concurrent sub-nets that respectively specify the system under test and its environment. The result is optimal in the sense that test cases have the shortest possible accumulated time to be executed. Test cases selection combines test purposes and structural coverage criteria associated with the model. A test purpose or a coverage criterion is specified in a SE-LTL formula. The TIme Petri Net Analyzer TINA has been extended to support concurrent composed subnets. Automatic generation of time-optimal test suites with the Tina toolbox combines the model checker selt and the path analyzer plan. selt outputs a sequence that satisfies the logic formula. plan computes the fastest execution of this sequence which will be transformed in a test cases suite.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。