Unlock instant, AI-driven research and patent intelligence for your innovation.

Code submission method for associated test case library and server

A test case library and test case technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as code quality cannot be well guaranteed, and achieve the effect of quality assurance

Pending Publication Date: 2022-02-11
福州汇思博信息技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The traditional gerrit management solution pays more attention to authority management and audit functions, but only manual audit of the code cannot guarantee the code quality well

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code submission method for associated test case library and server
  • Code submission method for associated test case library and server
  • Code submission method for associated test case library and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] Please refer to figure 1 and image 3 , Embodiment 1 of the present invention is:

[0069] A method for submitting codes associated with a test case library, including steps:

[0070] S1. Receive a new item request from the development end, create an item corresponding to this code submission, and the new item request and the item include the code that needs to be submitted this time.

[0071] In this embodiment, the new item is realized through a client software or IDE plug-in, and the client software or IDE is installed on the developer's work PC, that is, installed on the development end. Developers use this client software or plug-in on the development side to create a new item for each git code submission.

[0072] S2. Receive a use case selection request from the development end, select a test case for the code from a preset test case library according to the use case selection request, and test the code according to the selected test case.

[0073] In this em...

Embodiment 2

[0094] Please refer to figure 2 , the second embodiment of the present invention is:

[0095] A code submission server 1 associated with a test case library includes a processor 2, a memory 3, and a computer program stored in the memory 3 and operable on the processor 2, and the processor 2 executes the A computer program realizes the steps in the first embodiment above.

[0096] To sum up, in the code submission method and server of an associated test case library provided by the present invention, when submitting code at the development end, it is necessary to select a test case for unit testing, and submit for review only after the unit test passes, and The content submitted for review includes code, test cases, and test results, so that reviewers can conduct reviews in combination with code, test cases, and test results, thereby better ensuring the quality of software codes. At the same time, it is simpler and more effective to use the item ID to indicate whether it has...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a code submission method of an associated test case library and a server, the method comprises the following steps: receiving a new item request of a development end, and newly creating an item corresponding to the current code submission, wherein the new item request and the item comprise the code needing to be submitted at the current time; receiving a use case selection request of the development end, selecting a test case for the code in a preset test case library according to the use case selection request, and testing the code according to the selected test case; judging whether the test result passes or not, if yes, supplementing the test case and the test result into the item, and submitting the item for auditing; when a development end submits a code, performing unit testing on a test case needs to be selected, and submitting and auditing only after the unit testing is passed, wherein the submitted and auditing content comprises the code, the test case and a test result, so that auditing personnel can carry out auditing by combining the code, the test case and the test result, and therefore, the quality of software codes is better ensured.

Description

technical field [0001] The invention relates to the technical field of test management, in particular to a method for submitting codes associated with a test case library and a server. Background technique [0002] As software applications penetrate into all walks of life, the quality of software code is becoming more and more important. High-quality software code can greatly reduce the probability of software running errors; on the contrary, low-quality software code may require a lot of manpower and material resources to debug later, and may even cause the entire project to fail. Therefore, in order to ensure the quality of software, various software testing methods have been developed in software engineering. Among them, the unit test is mainly to test the function of the code unit developed by the programmer during the development stage. Through unit testing, the quality of the code can be guaranteed in the initial stages of coding. [0003] Git is a very widely used ...

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688G06F11/3692
Inventor 陈利权
Owner 福州汇思博信息技术有限公司