Hardware test method and device, electronic equipment and storage medium
A hardware testing and hardware technology, which is applied in the direction of faulty hardware testing methods, software testing/debugging, and detecting faulty computer hardware, etc., can solve problems such as taking a long time, reduce difficulty, reduce repeated design time, and improve problem location efficiency effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
test Embodiment 2
[0027] In conventional hardware testing methods, the tester designs a test case for the API of the hardware to be tested, writes a piece of test code according to the input condition scenario, compiles and generates the pac file of the test example demo, and downloads the generated pac file to the hardware to be tested. Make the hardware under test start the demo and run the demo directly to complete the API test of the scenario, and record the test results. Then repeat the above steps for another API of the hardware under test to implement encoding, downloading and running. It can be found that the test efficiency of the traditional hardware test is low, and a lot of time is spent on coding, compiling and debugging the demo. figure 2 is an example diagram of time-consuming analysis of conventional API testing in the prior art, see figure 2 , assuming that the user’s basic project compilation is completed, the basic function test is completed, the version release requiremen...
Embodiment 1
[0029] image 3 It is a flowchart of a hardware testing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the complex application scenario testing of OpenCpu communication modules. The method can be executed by a hardware testing device, which can use hardware and / or implemented by software, see image 3 , the method provided in the embodiment of the present invention specifically includes the following steps:
[0030] Step 101: Determine the API type and API calling sequence of the application program interface API corresponding to the hardware to be tested according to the acquired input scene.
[0031] Among them, the input scenario may be a hardware application scenario that needs to be tested. The input scenario may include the use function of the hardware and the use order of each function. Hardware, for example, traditional communication modules and OpenCpu communication modules, etc.
[0032] In the embodiment of the present...
Embodiment 2
[0046] Figure 4 It is a flow chart of another hardware testing method provided by the second embodiment of the present invention. The embodiment of the present invention is based on the embodiment of the above invention. Refer to Figure 4 , the method provided in the embodiment of the present invention specifically includes the following steps:
[0047] Step 201, acquire the function information and function execution sequence of the hardware under test input by the user through the preset interface as the input scene.
[0048] Specifically, the preset interface may be a visual page, which is used to display test cases of each interface of the test API to the user, Figure 5 It is an example diagram of the API interface test module grouping model in the preset interface provided by Embodiment 2 of the present invention, see Figure 5 , the hardware function classification of different hardware functions can be displayed through the preset interface, such as general informa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


