📜  面向对象测试和面向代理测试之间的区别

📅  最后修改于: 2022-05-13 01:57:00.083000             🧑  作者: Mango

面向对象测试和面向代理测试之间的区别

面向代理的测试被定义为通过解决和自动化复杂的测试任务,将软件或智能或多代理系统等代理应用于软件测试问题。该测试被认为是面向对象测试过程的扩展。越来越需要面向代理的系统来解决复杂的问题。代理可以定义为用于为用户执行某些特定任务的软件程序,它还具有一定程度的智能,可用于以有用的方式自主执行其部分任务。

面向对象测试是一种软件测试过程,使用面向对象的范式(如封装、继承、多态性等)来测试软件。软件通常会经历许多级别的测试,从单元测试系统验收测试。通常,单元内测试、小“单元”或软件模块是单独测试的,重点是测试该模块的代码。在更高阶的测试(例如验收测试)中,测试整个系统(或子系统),重点是测试系统的功能或外部行为。这种测试方法是一种以数据为中心的技术,而不是算法。

面向对象测试和面向代理测试之间的区别

 Object-Oriented TestingAgent-oriented Testing
1.In Object-Oriented Testing, its unit is an object.In Agent-oriented testing, its unit is an agent.
2.It is an extension of the structural programming paradigm.It is an extension of object-oriented programming.
3.It is defined by the methods and functions.It is defined by their behavior.
4.It is static in nature because once the objects are created by a class, they cannot change their class.It is dynamic in nature because the created agent may change its behavior according to the situation to achieve its goal.
5.It does its work as defined by the user.It first understands the problem and then works according to it.
6.It is less resistant to its failure and cannot find any proper solution.It is robust in nature and thus can come out of failure.
7.It has some uniques properties like inheritance, polymorphism, encapsulation, etc.It has some uniques properties like pro-activity, reactivity, mobility, social ability, etc.
8.This testing is easier as compared to agent-based testing.This testing is complex in nature as compared to object-oriented testing.
9.It is not dependent on any tools for the testing process.It is dependent on the tools or techniques of object-oriented testing.