CN112328503A - Task acceptance method for software development working platform - Google Patents

Task acceptance method for software development working platform Download PDF

Info

Publication number
CN112328503A
CN112328503A CN202011378222.9A CN202011378222A CN112328503A CN 112328503 A CN112328503 A CN 112328503A CN 202011378222 A CN202011378222 A CN 202011378222A CN 112328503 A CN112328503 A CN 112328503A
Authority
CN
China
Prior art keywords
code
software
program
development
acceptance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011378222.9A
Other languages
Chinese (zh)
Inventor
王�琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Hollow Technology Co ltd
Original Assignee
Wuhan Hollow Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Hollow Technology Co ltd filed Critical Wuhan Hollow Technology Co ltd
Priority to CN202011378222.9A priority Critical patent/CN112328503A/en
Publication of CN112328503A publication Critical patent/CN112328503A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a task acceptance method for a software development working platform, and relates to the technical field of software development. The invention comprises the following steps: submitting the developed software codes to a platform code hosting warehouse; the platform analyzes the submitted source codes and detects the source codes according to the code detection standard; sending the qualified codes and development technology documents thereof to a software deployment server; creating a program running environment in a software testing server according to the development technical document; sending the code to a program running environment of a software testing server, compiling and deploying; generating a code test program according to the development technology document; running a test program, automatically testing the deployed codes, and returning a test result; and (5) the acceptance result is qualified, and the acceptance is finished. The method and the device can quickly judge the delivery quality of the software codes and improve the detection efficiency and delivery efficiency of the software codes.

Description

Task acceptance method for software development working platform
Technical Field
The invention belongs to the technical field of software development, and particularly relates to a task acceptance method of a software development working platform.
Background
The software development working platform is a crowdsourcing mode working platform facing the field of software design and development, and the platform realizes rapid butt joint of enterprises with software development working requirements and engineers providing software development services through standardized services and automatic processes, so that the software development working platform can work efficiently.
The software development work platform provides work management related services in a crowdsourcing mode. An enterprise issues task requirements to a platform, the platform decomposes the tasks, searches matched engineers from a platform talent base according to the requirement attributes and classification, and distributes the tasks to proper engineers; the engineer starts working after receiving the task requirement, and submits the result to the platform after the task is completed; and the enterprise receives and reviews the task delivery result. When the enterprise releases the tasks, the task cost is managed on the platform, and after the tasks are delivered, the platform and an engineer settle accounts.
After the engineer delivers the developed software code to the platform, the enterprise needs to perform acceptance testing on the result code. The manual or semi-manual testing of the software codes has insufficient efficiency and is easy to become a bottleneck of the whole task process, so that an efficient task acceptance method is needed, the quality of delivered result codes is judged quickly and accurately, and the overall operation performance of a working platform is improved.
Disclosure of Invention
The invention aims to provide a task acceptance method of a software development working platform, which solves the problems of low efficiency, low detection accuracy and influence on software system delivery of the existing soft armor code test manual test by analyzing and detecting files of developed software codes, sending the files to a deployment server, creating a program running environment and generating a code test program for testing according to development technical documents.
In order to solve the technical problems, the invention is realized by the following technical scheme:
the invention relates to a task acceptance method of a software development working platform, which comprises the following steps:
step S1: the engineer submits the developed software codes to a platform code hosting warehouse;
step S2: the platform analyzes the submitted source codes and detects the source codes according to the code detection standard;
step S3: detecting whether the code is qualified;
if the code detection is not qualified, executing step S4;
if the code is qualified, only execute step S5;
step S4: sending the detection result to an engineer submitting the code, and finishing acceptance inspection;
step S5: sending the qualified codes and development technology documents thereof to a software deployment server;
step S6: creating a program running environment in a software testing server according to the development technical document;
step S7: sending the code to a program running environment of a software testing server, compiling and deploying;
step S8: generating a code test program according to the development technology document;
step S9: running a test program, automatically testing the deployed codes, and returning a test result;
step S10: if the test result is not qualified, executing the step S11, and if the test result is qualified, executing the step S12;
step S11: the acceptance result is qualified, the test result is sent to an engineer submitting the codes, and the acceptance is finished;
step S12: and (5) the acceptance result is qualified, and the acceptance is finished.
Preferably, in step S1, when the software development task is released, a storage space of the task is created in the software code hosting repository, an initial code structure is generated according to task requirements, a task engineer develops in the initial code structure frame, and then the developed code is submitted to the storage space corresponding to the task of the software code hosting repository.
Preferably, in step S2, the code detection criteria include a code syntax specification, a naming specification, and a program logic specification; the code grammar specification aims at different versions of different programming languages, and when detection is carried out, a corresponding version is selected according to the programming languages for grammar validity detection; the naming specification comprises data object naming, interface function naming and a code structure; the program logic specification specifies the program logic encoding standards for different application services.
Preferably, in step S6, the software deploying server creates a program execution environment at the software testing server by using the corresponding template according to the program execution environment description content in the received development technology document, including the operating system, the development language and the programming basic framework, and the referenced program library.
Preferably, in step S7, the software deploying server sends the result code to the program running environment of the software testing server, compiles the result code into an executable program, copies the relevant execution files and resource files to the specified directory of the running environment, and configures the necessary running parameters according to the relevant content in the development technology document.
Preferably, in step S8, a unit test script, an interface test script, and a front-end function test script of the code are generated according to software requirements, function descriptions, and interface information contents in the development technology document, and the test script is integrated into an automation test program, so as to generate a performance test script of the code according to a scenario.
Preferably, in step S12, when the code detection and test result is qualified, the acceptance result status parameter is set to be qualified, and after the acceptance is finished, the platform calls a subsequent task warranty or settlement program.
The invention has the following beneficial effects:
the invention carries out file analysis and detection on the developed software code, then sends the software code to the deployment server and creates a program running environment, tests the program running environment of the software testing server sent by the code and generates a code testing program according to the development technical document, quickly judges the quality of software code delivery and improves the detection efficiency and the delivery efficiency of the software code.
Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a task acceptance method of a software development work platform according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention is a method for checking and accepting a task of a software development work platform, comprising the following steps:
step S1: the engineer submits the developed software codes to a platform code hosting warehouse;
step S2: the platform analyzes the submitted source codes and detects the source codes according to the code detection standard;
step S3: detecting whether the code is qualified;
if the code detection is not qualified, executing step S4;
if the code is qualified, only execute step S5;
step S4: sending the detection result to an engineer submitting the code, and finishing acceptance inspection;
step S5: sending the qualified codes and development technology documents thereof to a software deployment server;
step S6: creating a program running environment in a software testing server according to the development technical document;
step S7: sending the code to a program running environment of a software testing server, compiling and deploying;
step S8: generating a code test program according to the development technology document;
step S9: running a test program, automatically testing the deployed codes, and returning a test result;
step S10: if the test result is not qualified, executing the step S11, and if the test result is qualified, executing the step S12;
step S11: the acceptance result is qualified, the test result is sent to an engineer submitting the codes, and the acceptance is finished;
step S12: and (5) the acceptance result is qualified, and the acceptance is finished.
In step S1, when the software development task is released, a storage space of the task is created in the software code hosting warehouse, an initial code structure is generated according to a task requirement, a task engineer develops in the initial code structure frame, and then the developed code is submitted to the storage space corresponding to the task of the software code hosting warehouse.
In step S2, the code detection standard includes programming standards such as a code syntax standard, a naming standard, a program logic standard, and the like, where the programming standards include both a general software coding standard and a software coding standard for different types and application scenarios, and are divided into two levels, i.e., a necessary standard and a suggested standard, the necessary standard is enforced, and the suggested standard is selected and executed according to actual situations; the code grammar specification aims at different versions of different programming languages, and when detection is carried out, a corresponding version is selected according to the programming languages for grammar validity detection; the naming specification comprises data object naming, interface function naming, code structure and the like; the program logic specification specifies the program logic encoding standards for different application services.
In step S6, the software deploying server creates a program running environment using a corresponding template at the software testing server according to the received program running environment description content in the development technical document, including the operating system, the development language, the programming basic framework, and the referenced program library.
In step S7, the software deploying server sends the result code to the program running environment of the software testing server, compiles the result code into an executable program, copies the relevant execution files and resource files to the specified directory of the running environment, and configures the necessary running parameters according to the relevant content in the development technology document.
In step S8, a unit test script, an interface test script, and a front-end function test script of the code are generated according to software requirements, function descriptions, and interface information contents in the development technical document, the test scripts are integrated into an automation test program, and a performance test script of the code is generated according to a scenario.
In step S12, when the code detection and test result is qualified, the acceptance result state parameter is set to be qualified, and after the acceptance is finished, the platform calls a subsequent task warranty or settlement program.
It should be noted that, in the above system embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it is understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing associated hardware, and the corresponding program may be stored in a computer-readable storage medium.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (7)

1. A task acceptance method for a software development working platform is characterized by comprising the following steps:
step S1: the engineer submits the developed software codes to a platform code hosting warehouse;
step S2: the platform analyzes the submitted source codes and detects the source codes according to the code detection standard;
step S3: detecting whether the code is qualified;
if the code detection is not qualified, executing step S4;
if the code is qualified, only execute step S5;
step S4: sending the detection result to an engineer submitting the code, and finishing acceptance inspection;
step S5: sending the qualified codes and development technology documents thereof to a software deployment server;
step S6: creating a program running environment in a software testing server according to the development technical document;
step S7: sending the code to a program running environment of a software testing server, compiling and deploying;
step S8: generating a code test program according to the development technology document;
step S9: running a test program, automatically testing the deployed codes, and returning a test result;
step S10: if the test result is not qualified, executing the step S11, and if the test result is qualified, executing the step S12;
step S11: the acceptance result is qualified, the test result is sent to an engineer submitting the codes, and the acceptance is finished;
step S12: and (5) the acceptance result is qualified, and the acceptance is finished.
2. The method for checking and accepting the task of the software development working platform according to claim 1, wherein in step S1, when the software development task is released, a storage space of the task is created in a software code hosting warehouse, an initial code structure is generated according to task requirements, a task engineer develops in an initial code structure frame, and then submits the developed code to a task corresponding storage space of the software code hosting warehouse.
3. The method according to claim 1, wherein in step S2, the code detection criteria include code syntax specification, naming specification, program logic specification; the code grammar specification aims at different versions of different programming languages, and when detection is carried out, a corresponding version is selected according to the programming languages for grammar validity detection; the naming specification comprises data object naming, interface function naming and a code structure; the program logic specification specifies the program logic encoding standards for different application services.
4. The method according to claim 1, wherein in step S6, the software deployment server creates the program execution environment at the software testing server using the corresponding template according to the program execution environment description content in the received development technology document, including the operating system, the development language and the programming infrastructure, and the referenced program library.
5. The method as claimed in claim 1, wherein in step S7, the software deploying server sends the result code to the program running environment of the software testing server, compiles the result code into an executable program, copies the relevant execution files and resource files to the specified directory of the running environment, and configures the necessary running parameters according to the relevant content in the development technical document.
6. The method for task acceptance of software development working platform according to claim 1, wherein in step S8, a unit test script, an interface test script and a front-end function test script of the code are generated according to software requirements, function descriptions and interface information contents in development technical documents, the test scripts are integrated into an automation test program, and a performance test script of the code is generated according to a scenario.
7. The method as claimed in claim 1, wherein in step S12, when the code detection and test result is acceptable, the status parameter of the acceptance result is set to be acceptable, and after the acceptance is finished, the platform calls a subsequent task warranty or settlement procedure.
CN202011378222.9A 2020-11-30 2020-11-30 Task acceptance method for software development working platform Pending CN112328503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011378222.9A CN112328503A (en) 2020-11-30 2020-11-30 Task acceptance method for software development working platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011378222.9A CN112328503A (en) 2020-11-30 2020-11-30 Task acceptance method for software development working platform

Publications (1)

Publication Number Publication Date
CN112328503A true CN112328503A (en) 2021-02-05

Family

ID=74307853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011378222.9A Pending CN112328503A (en) 2020-11-30 2020-11-30 Task acceptance method for software development working platform

Country Status (1)

Country Link
CN (1) CN112328503A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116915516A (en) * 2023-09-14 2023-10-20 深圳市智慧城市科技发展集团有限公司 Software cross-cloud delivery method, transfer server, target cloud and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293811A (en) * 2016-07-28 2017-01-04 北京中电普华信息技术有限公司 A kind of packing and issuing method and device automatically
CN108415832A (en) * 2018-02-07 2018-08-17 平安科技(深圳)有限公司 Automatic interface testing method, device, equipment and storage medium
CN109446072A (en) * 2018-09-27 2019-03-08 深圳壹账通智能科技有限公司 The generation method and device of test script
CN110046099A (en) * 2019-04-11 2019-07-23 艾伯资讯(深圳)有限公司 Intelligent software test macro and method
CN110221948A (en) * 2019-04-18 2019-09-10 深圳壹账通智能科技有限公司 Test script generation method, device, computer installation and storage medium
CN110221975A (en) * 2019-05-28 2019-09-10 厦门美柚信息科技有限公司 Create the method and device of interface use-case automatic test script
CN110245090A (en) * 2019-06-24 2019-09-17 四川首汽交投汽车共享科技有限公司 A kind of interface test method
CN111221735A (en) * 2020-01-08 2020-06-02 福建博思软件股份有限公司 System for automatically generating service interaction test script

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293811A (en) * 2016-07-28 2017-01-04 北京中电普华信息技术有限公司 A kind of packing and issuing method and device automatically
CN108415832A (en) * 2018-02-07 2018-08-17 平安科技(深圳)有限公司 Automatic interface testing method, device, equipment and storage medium
CN109446072A (en) * 2018-09-27 2019-03-08 深圳壹账通智能科技有限公司 The generation method and device of test script
CN110046099A (en) * 2019-04-11 2019-07-23 艾伯资讯(深圳)有限公司 Intelligent software test macro and method
CN110221948A (en) * 2019-04-18 2019-09-10 深圳壹账通智能科技有限公司 Test script generation method, device, computer installation and storage medium
CN110221975A (en) * 2019-05-28 2019-09-10 厦门美柚信息科技有限公司 Create the method and device of interface use-case automatic test script
CN110245090A (en) * 2019-06-24 2019-09-17 四川首汽交投汽车共享科技有限公司 A kind of interface test method
CN111221735A (en) * 2020-01-08 2020-06-02 福建博思软件股份有限公司 System for automatically generating service interaction test script

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116915516A (en) * 2023-09-14 2023-10-20 深圳市智慧城市科技发展集团有限公司 Software cross-cloud delivery method, transfer server, target cloud and storage medium
CN116915516B (en) * 2023-09-14 2023-12-05 深圳市智慧城市科技发展集团有限公司 Software cross-cloud delivery method, transfer server, target cloud and storage medium

Similar Documents

Publication Publication Date Title
CN108845940B (en) Enterprise-level information system automatic function testing method and system
CN107145437B (en) Java annotation test method and device
CN105701010A (en) Method and device for accelerating software testing
US20020198868A1 (en) System and method for specification tracking in a Java compatibility testing environment
CN111381825A (en) Method and device for generating small program
CN112241360A (en) Test case generation method, device, equipment and storage medium
US10459698B2 (en) Framework for generating adapters in an integrated development environment
CN110737631A (en) data analysis method and device based on Flink engine
CN114297056A (en) Automatic testing method and system
CN109240923B (en) Interface test script generation method and computer readable storage medium
CN114579467A (en) Smoking test system and method based on release subscription mechanism
CN112328503A (en) Task acceptance method for software development working platform
CN117520190A (en) Cloud desktop client and test execution method thereof
US20110023010A1 (en) Reserved component container-based software development method and apparatus
CN115934559A (en) Testing method of intelligent form testing system
US20210349808A1 (en) Source quality check service
CN111427770B (en) Resource testing method and related equipment
CN111966665A (en) Data migration test method and device
CN111151008A (en) Game operation data verification method, device, configuration background and medium
CN116860324B (en) Development data processing method, development data processing apparatus, and readable storage medium
CN114116466B (en) Unit test method, device and medium based on operation log
CN113467860B (en) Service logic execution method and device of program source code
KR20180060573A (en) Regression test automation system for improving software development quality
CN117453542A (en) Software interface testing method, device, equipment and storage medium
CN114327396A (en) Method for developing Andriod system application by deviating from source code compiling environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210205