软件测试是保证软件质量、提高软件可靠性的关键.面向对象开发范型虽然提高了软件的可重用性和可维护性,然而它的封装性、继承性、多态性和动态绑定等特性却给软件测试提出了新的要求.根据面向对象软件的特点,总结了面向对象软件测试的内容、测试层次及测试用例的设计方法,同时讨论了面向对象软件测试技术的现状与发展.%Software testing is a key for the software quality and reliability.Object-oriented software development improves reuse and maintainability,but its new features, such as encapsulation,inheritance,polymorphism with dynamic binding raises more new issues.According to some specific aspects and attributes of object-oriented software,the main contents of object-oriented software testing,levels of testing and approches for designing the test method have been summarized in the present paper. The current situation and future development of object-oriented software testing technology have also been discussed.
展开▼