HONEYWELL FC-PSU-UNI2450U V2.1 驱动模块
HONEYWELL FC-PSU-UNI2450U V2.1 驱动模块是用来模拟被测试模块的上一级模块,相当于被测模块的主程序。它接收数据,将相关数据传送给被测模块,启用被测模块,并打印出相应的结果。传统的单元测试包括了驱动模块(driver) 和桩模块(stub)。驱动模块的目的很单纯,就是为了访问类库的属性和方法,来检测类库的功能是否正确;驱动模块是用来模拟被测试模块的上一级模块,相当于被测模块的主程序。它接收数据,将相关数据传送给被测模块,启用被测模块,并打印出相应的结果。如果被测试模块中的函数是提供给其他函数调用的,在设计测试用例时就应该设计驱动模块(Driver)。
举例来说:HONEYWELL FC-PSU-UNI2450U V2.1 驱动模块通过模拟一系列用户操作行为,比如选择用户界面上的某一个选项或者按下某个按钮等,自动调用被测试模块中的函数。驱动模块(Driver)设置,使对模块的测试不必与用户界面真正交互。
HONEYWELL FC-PSU-UNI2450U V2.1 驱动模块
HONEYWELL FC-PSU-UNI2450U V2.1 driver module is used to simulate the upper level module of the tested module, which is equivalent to the main program of the tested module. It receives the data, transmits the relevant data to the module under test, enables the module under test, and prints out the corresponding results. Traditional unit tests include driver modules and stub modules. The purpose of the driver module is very simple, that is, to access the attributes and methods of the class library, to detect the function of the class library is correct; The driver module is used to simulate the upper level module of the module being tested, which is equivalent to the main program of the module being tested. It receives the data, transmits the relevant data to the module under test, enables the module under test, and prints out the corresponding results. If the functions in the module under test are provided to other function calls, the Driver module should be designed when designing the test case.
For example, HONEYWELL FC-PSU-UNI2450U V2.1 driver module automatically invoves functions in the tested module by simulating a series of user actions, such as selecting an option on the user interface or pressing a button. The Driver module is set up so that tests on the module do not have to actually interact with the user interface.
HONEYWELL FC-PSU-UNI2450U V2.1 驱动模块
Copyright © 2022-2024 厦门雄霸电子商务有限公司 版权所有 备案号:闽ICP备14012685号-33