为了解决并行环境下的测试用例优先级技术度量问题,首先对现有度量方法的性质进行了分析,指出了现有度量方法在物理意义和扩展性等方面的局限性.然后针对并行环境下多处理队列的特性,综合考虑错误检测能力及测试开销等因素,对测试用例序列的性能进行评估,提出了一种新的测试用例优先级技术度量方法,并给出了相应的计算公式和实例研究.在此基础上,通过引入一种相对度量,解决了并行环境下度量结果的比较问题,并推导出一种常见情景下的计算公式,用于均匀划分情况下的简化计算和比较.
To solve the problem of test metrics for test case prioritization in the parallel scenario,the properties of existing metrics are analyzed,and their limitations in physical meanings and extension are discussed.Then,combined with the characteristics of multiprocessing queue under the parallel scenario,a new metrics for test prioritization is presented,which takes into account the faults detection ability and costs of test cases.Corresponding computing equation and a case study are also given.Furthermore,a relative measurement is introduced to solve the problem of comparisons of different metrics for the parallel scenario.Besides,a formula is deduced to simplify the calculation and comparison under a special scenario when queues are partitioned evenly.