摘要: 白盒测试是检验程序正确性的重要方法。代码的覆盖度量是保证白盒测试的充分性的主要准则。现今,泛型编程技术已经在程序设 计中占据了重要地位。而泛型程序设计的特点,则给传统白盒测试中的代码覆盖度量法则带来了新的挑战。针对泛型技术的特点,该文提出 了一种增强的覆盖度量方法,该方法可用于泛型程序的白盒测试。
关键词:
自盒测试,
泛型程序,
模板,
覆盖度量
Abstract: White-box test is a kind of important method to verity correctness of program. Coverage metrics is the main criteria assuring the integrality of white-box test. Nowadays, generic programming has held an important position in programming. The character of generic programming brings a new challengc to traditional coveragc metrics in white-box test. Aiming at generic technologys characters, this paper puts forward a kind of enhanced coverage metrics, which can be used in generic programs white-box test.
中图分类号:
江渔剑,饶若楠. 关于泛型程序的覆盖度量方法的探讨[J]. , 2004, 30(S1): 163-165.
JIANG Yujian,RAO Ruonan. Discussion About Coverage Metrics of Generic Program[J]. , 2004, 30(S1): 163-165.