摘要
从测试用例自动生成和自动执行的角度来探讨如何对人机交互软件建立测试模型。采用UML活动图模型来描述软件的人机交互过程。为了能够从活动图模型中生成一组确定的可执行的测试用例,给出了一组规则来细化基于活动图的测试模型所表达的语义,同时也对活动图做了一些扩展,以支持基于模型的测试用例自动生成及其自动执行。给出的建模方法,能够减少某些冗余的测试用例。
The paper mainly studied the approach to build the software testing model from perspective test cases generation and test automation. In the approach, the software interactive process is modeled with the UML activity diagram. A set of rules is introduced to eliminate some ambiguity of the activity diagram to generate executable test cases from the test model. In addition, the activity diagram is extended to make the generated test cases executable. The modeling technique proposed in this paper can also help decrease some redundant test cases.
出处
《沈阳航空工业学院学报》
2005年第2期32-35,共4页
Journal of Shenyang Institute of Aeronautical Engineering