澳门威尼人58_首页(欢迎您!)

    <track id="hj2xp"></track>
      1. <object id="hj2xp"><s id="hj2xp"><xmp id="hj2xp"></xmp></s></object>
      2. <acronym id="hj2xp"></acronym>
        CN
        4News
        Your location: Home ->  News ->  What is the driver module?

        What is the driver module?


        The driver module is used to simulate the upper module of the module being tested, which is equivalent to the main program of the module under test. It receives the data, transmits the relevant data to the module under test, enables the module under test, and prints out the corresponding result.
        Traditional unit tests include driver and stub. The purpose of the driver module is very simple, in order to access the properties and methods of the class library, to detect whether the function of the class library is correct;
        The driver module is used to simulate the upper module of the module being tested, which is equivalent to the main program of the module under test. It receives the data, transmits the relevant data to the module under test, enables the module under test, and prints out the corresponding result.
        Normal002falsefalsefalseEN-USKOX-NONEMicrosoftInternetExplorer4 If the function in the tested module is provided to other function calls, the driver module should be designed when designing the test case.
        For example, the driver can automatically call the function in the module being tested by simulating a series of user actions, such as selecting an option on the user interface or pressing a button. Drive the driver settings so that testing of the module does not have to actually interact with the user interface.
        澳门威尼人58