Automatic testing method for slave software
The invention discloses an automatic testing method for slave software. The method is suitable for automatic testing of a slave comprising a master end and a slave end. The method comprises the following steps: constructing a slave end function logic library; in the test execution process, construct...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an automatic testing method for slave software. The method is suitable for automatic testing of a slave comprising a master end and a slave end. The method comprises the following steps: constructing a slave end function logic library; in the test execution process, constructing a test condition, and transmitting it to the function logic library to obtain a result output by the function logic library, the result serving as a judgment basis of output correctness; and sending the same test condition to a test object, obtaining an output result, and judging correctness. According to the method, the software testing method realizes automatic testing of the slave end software, and the complexity of a test case writing process is reduced, so that the development period is shortened.
本发明公开一种从端软件自动化测试方法,适用于包含主从两端的从端自动化测试。该方法包括:构建从端功能逻辑库;在测试执行过程中,构建测试条件,并将测试条件传递给功能逻辑库,获取功能逻辑库输出的结果,将此结果作为输出正确性的判定依据;使用相同的测试条件,发送给测试对象,获取输出结果,判定正确性。通过上述方式,该软件测试方法实现了,从端软件的自动化测试,测试用例编写过程的复杂程度降低,从而缩短了开发周期。 |
---|