Method, device and equipment for testing consumer object
The invention provides a method, device and equipment for testing a consumer object, and relates to a unit testing technology, and the method comprises the steps: obtaining the information of a to-be-tested consumer object, the information of a service object called by the consumer object, and the i...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
13.05.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a method, device and equipment for testing a consumer object, and relates to a unit testing technology, and the method comprises the steps: obtaining the information of a to-be-tested consumer object, the information of a service object called by the consumer object, and the information of a simulation object used for simulating the service object; according to the information of the consumer object and the information of the service object called by the consumer object, obtaining a target parameter corresponding to the consumer object and the service object; assigning the value of the simulation object to the target parameter according to the information of the simulation object; and running the consumer object according to the target parameter to obtain a running result, comparing the running result with a preset accurate result, and determining a test result for testing the consumer object according to the comparison result. According to the method provided by the scheme, the annotat |
---|---|
Bibliography: | Application Number: CN202210109445 |