A testing method, device and server

A test method and tested technology, applied in the computer field, can solve the problem of code coverage in the blind area and so on
CN106776338BInactive Publication Date: 2020-04-03BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
Publication Date
2020-04-03
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a test method and device and a server. The test method and device and the server are used for solving the problem that the code coverage rate of a functional test is located at a dead zone. The method comprises the steps that compiling is conducted on a tested code to generate an executable file for code coverage rate analysis; the executable file is deployed in a test environment; a test case for a functional test is carried out in the test environment, a data request for the test environment is formed by simulating a client terminal by the test case, and the test environment corresponds to the data request of the test case; according to the executable file, a code coverage rate result is determined after the test case is carried out; analysis is conducted on the code coverage rate result and a code coverage rate report is output. By the implement of the test method and device and the server, the code coverage rate for the functional test can be determined.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computer technology, in particular to a testing method, device and server. Background technique

[0002] The server serves the client, and the content of the service includes providing resources to the client, saving client data, and so on. Since the server-side business is relatively complex, with more functional logic and faster version iteration, functional testing is required to ensure the business functional logic.

[0003] Code coverage (code coverage) is a measure in software testing, which is used to describe the proportion and extent of the source code in the program being tested. Among them, the proportion of the source code being tested is called code coverage. At present, code coverage can be evaluated by developers writing unit test cases, but the code coverage for functional testing is still in a blind spot. Therefore, the code coverage for functional testing has become an urgent technical problem t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More