CN113434415A - Resource package extracting and detecting method and device, electronic equipment and storage medium - Google Patents

Resource package extracting and detecting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113434415A
CN113434415A CN202110721735.3A CN202110721735A CN113434415A CN 113434415 A CN113434415 A CN 113434415A CN 202110721735 A CN202110721735 A CN 202110721735A CN 113434415 A CN113434415 A CN 113434415A
Authority
CN
China
Prior art keywords
version
issue
extraction
construction
current
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.)
Granted
Application number
CN202110721735.3A
Other languages
Chinese (zh)
Other versions
CN113434415B (en
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110721735.3A priority Critical patent/CN113434415B/en
Publication of CN113434415A publication Critical patent/CN113434415A/en
Application granted granted Critical
Publication of CN113434415B publication Critical patent/CN113434415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

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)
  • Computer Security & Cryptography (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a resource package extracting and detecting method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: responding to a request of a front-end page of a construction system, and returning a store list and a construction list of a resource package to be tested to the front-end page of the construction system; after receiving the extracting and testing information input by the user and sent by the front page of the construction system, locking the extracting and testing information, and inquiring the construction information of the resource package; and after determining that the extraction order can be generated based on the construction information, creating a blank extraction order, filling extraction basic information and storage list information, and generating the extraction order. By the resource package extracting and detecting method and device, the electronic equipment and the storage medium, the development efficiency can be greatly improved.

Description

Resource package extracting and detecting method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of application development, in particular to a resource package extracting and testing method, a resource package extracting and testing device, electronic equipment and a storage medium.
Background
With the rapid development and the rapid iteration realization of product functions, in order to meet the requirement of rapid development and iteration, more and more APPs (APPlication programs) adopt a mixed development mode, and display services with uncomplicated service logic are converted into H5 for development, and the mixed development mode can rapidly update service requirements and can be updated thermally.
However, most of the existing methods adopt simple oral communication or document mail communication, which is inefficient. Therefore, how to rapidly extract and distribute the H5 resource package is a technical problem to be solved urgently.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a resource package extracting and testing method, a resource package extracting and testing device, electronic equipment and a storage medium.
In a first aspect, the present invention provides a method for extracting a resource package, including:
responding to a request of a front-end page of a construction system, and returning a store list and a construction list of a resource package to be tested to the front-end page of the construction system;
after receiving the extracting and testing information input by the user and sent by the front page of the construction system, locking the extracting and testing information, and inquiring the construction information of the resource package;
and after determining that the extraction order can be generated based on the construction information, creating a blank extraction order, filling extraction basic information and storage list information, and generating the extraction order.
Optionally, the determining that an alert can be generated based on the build information includes:
if the fact that the construction of the resource package is packaged and not tested is determined, and no task is being constructed, it is determined that a test order can be generated.
Optionally, the method further comprises:
if the dependency construction of the current resource package construction is determined to exist, inquiring the dependency construction, traversing and comparing the setting items of the current resource package construction and the dependency construction, and determining a newly added module, a deleted module and a version modification module;
and for the version modification module, calling the Git client to obtain submission difference information of the Git Tag corresponding to the constructed version, and filling the difference information into the submission list.
Optionally, the method further comprises:
and calling a jira interface, and creating the issue of the testing version and the issue of the expected version in the jira system.
Optionally, the creating a measured version of the isue and a desired version of the isue in a jira system includes:
if the current extraction is the first extraction of the large version of the target APP, the target APP has the last extraction, and the last extraction is not cancelled, taking the issue of the last expected version as the issue of the current extraction version, and creating a new issue of the expected version as the issue of the current expected version;
if the current upgrading is the first upgrading of the large version of the target APP, the last upgrading of the target APP exists, and the last upgrading is cancelled, taking the issue of the version upgraded last time as the issue of the version upgraded this time, and taking the issue of the version expected last time as the issue of the version expected this time;
and if the current test is the first test of the large version of the target APP and the target APP does not have the previous test, directly creating the issue of the current test version and the issue of the current expected version.
Optionally, the creating a measured version of the isue and a desired version of the isue in a jira system includes:
and if the current upgrading is the first upgrading of the target APP small version, directly creating the issue of the current upgrading version and the issue of the current expected version.
Optionally, the creating a measured version of the isue and a desired version of the isue in a jira system includes:
if the target APP has the last extraction test and the last extraction test is not cancelled, taking the last desired version of the ISSue as the version of the current extraction test, and creating a new desired version of the ISSue as the version of the current desired version;
and if the target APP has the last submission and the last submission is cancelled, taking the issue of the last submission version as the issue of the current submission version, and taking the issue of the last expected version as the issue of the current expected version.
In a second aspect, the present invention further provides a resource package extracting and testing apparatus, including:
the response module is used for responding to a request for constructing a front-end page of the system and returning a store list and a construction list of the resource package to be detected to the front-end page of the construction system;
the query module is used for locking the extracted information and querying the construction information of the resource package after receiving the extracted information input by the user and sent by the front-end page of the construction system;
and the generating module is used for creating a blank sampling list and filling sampling basic information and storage list information to generate the sampling list after determining that the sampling list can be generated based on the construction information.
In a third aspect, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the resource package extracting method according to the first aspect are implemented.
In a fourth aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the resource package provisioning method according to the first aspect described above.
According to the resource package extracting and testing method, device, electronic equipment and storage medium, iteration and electronization and simplification of the version of the H5 resource package are achieved through the platform of the construction system, an H5 developer can complete extracting and testing of one version through a simple interface operation after completing development of related requirements, and the interface operation only needs a user to input related information of the version, and an extracting and testing list is automatically generated by combining a gerrit code system and a jira project management system, so that the development efficiency can be greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a resource package extracting method provided by the present invention;
FIG. 2 is a timing diagram of resource packet extraction provided by the present invention;
FIG. 3 is a schematic structural diagram of a resource package extracting apparatus provided in the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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.
With the high-speed development and development requirements of the software industry and the rapid iteration requirements of the development period, simple oral communication or document mail communication has low efficiency due to the existence of a plurality of developments and cannot rapidly obtain responses of development and test parties.
Aiming at the problems, the invention provides a solution, the platform of the application construction system enables the version of the H5 resource package to be iterated, electronized and simplified, provides a list for the extracted version, manages and browses version events, automatically associates data of gerrit and jira, establishes a system tie, and facilitates the use of each role in the extraction and detection process.
Fig. 1 is a schematic flow chart of a resource package detection method provided by the present invention, and as shown in fig. 1, the method includes the following steps:
step 100, responding to a request for constructing a front-end page of the system, and returning a store list and a construction list of a resource package to be tested to the front-end page of the construction system;
specifically, the APP end H5 is used more and more frequently, so that H5 developers can complete the extraction and test of a version through a simple interface operation after completing the development of related requirements, the interface operation only needs a user to input related information of the version, the platform of the construction system is used for realizing the rapid extraction of the H5 resource package by combining the gerrit code system and the jira project management system, and development, test and other personnel are tied together to automatically generate an extraction and test list, so that the development efficiency is greatly improved And after the construction system server end responds to the request of constructing the front end page of the system, the resource package storage list and the construction list of the latest resource package can be returned to the front end page of the construction system. The resource package store list can be obtained by constructing a request from a system server to a jira system.
Step 101, after receiving the extracting and testing information input by a user and sent by a front-end page of a construction system, locking the extracting and testing information, and inquiring the construction information of a resource package;
specifically, after the building system server returns the store list and the building list to the building system front-end page, the building system front-end page may pop up a prompt box for entering the extraction information to the developer, for example, pop up the extraction box to the developer, so that the developer enters the extraction information of the resource package to be extracted, for example, the extraction APP (i.e., the APP corresponding to the current extraction of the resource package), the affected version (i.e., the affected APP version), the storage associated with the extraction and the extraction related description, and the like, which are not limited herein.
The method comprises the steps that a front-end page of a building system requests a building system server end for a test interface based on test information input by developers, after the building system server end receives the test information input by a user and sent by the front-end page of the building system, the test information can be locked, for example, an APP test lock is added, and the building information of a resource package is inquired, namely the test APP building information of the resource package is obtained, for example, whether APP building is tested, whether the APP building is packaged or not, whether the APP building is a self-test package or not, whether a task is being built (namely whether the APP building is in progress or not) and the like.
And 102, after determining that the sampling list can be generated based on the construction information, creating a blank sampling list, filling the basic sampling information and the store list information, and generating the sampling list.
Specifically, after the construction information of the query resource package determines that the extraction order can be generated, the construction system server side can execute the generation logic of the extraction order, create a blank extraction order, fill extraction basic information, store list information and the like, and generate the extraction order. The basic information of the extraction can be the APP associated with the extraction, the APP version, the APP construction, the extraction person, the extraction time and other basic information.
According to the resource package extracting and testing method provided by the embodiment of the invention, the version of the H5 resource package is subjected to iteration electronization and simplification by the platform of the construction system, an H5 developer can complete extracting and testing of one version through a simple interface operation after completing development of related requirements, and the interface operation only needs a user to input related information of the version, and an extracting and testing list is automatically generated by combining a gerrit code system and a jira project management system, so that the development efficiency can be greatly improved.
Optionally, the determining based on the build information may generate an invoice comprising:
if it is determined that the build of the resource package is packaged and not being tested and no task is being built, it is determined that a test order can be generated.
Specifically, after querying the construction information of the resource packet, if it is determined that the construction of the resource packet is packed and not yet tested, and there is no task being constructed, it indicates that the construction of the resource packet is completed and is in the state to be tested, and the test can be performed, the construction system server may determine that a test order can be generated at this time.
Optionally, the method further comprises:
if the dependency construction of the current resource package construction is determined to exist, inquiring the dependency construction, traversing and comparing the setting items of the current resource package construction and the dependency construction, and determining a newly added module, a deleted module and a version modification module;
and for the version modification module, calling the Git client to acquire submission difference information of the Git Tag corresponding to the constructed version, and filling the difference information into the submission list.
Specifically, in the process of executing the generation logic of the upgrade sheet by the server side of the building system, if it is determined that the current resource package building and the previously upgraded resource package building have a dependency relationship, that is, the current resource package building is subjected to version update on the basis of the previously upgraded resource package building, and indicates that the dependency building of the current resource package building exists, the dependency building is queried, and setting items of the current resource package building and the dependency building are compared in a traversing manner, so that a newly added module, a deleted module and a version modification module are determined.
For the version modification module, the construction system server can call the Git client (i.e. gerrit system) to obtain submission difference information of the Git Tag corresponding to the two construction versions (i.e. the construction and the dependent construction of the resource package) respectively, and the difference information is filled in a test bill, so that development and testing personnel can be helped to quickly control the difference of each version.
Optionally, the method further comprises:
and calling a jira interface, and creating the issue of the testing version and the issue of the expected version in the jira system.
Specifically, in the embodiment of the present invention, the server side of the building system may further execute a jira-related logic, call a jira interface, and create an issue of the proposed version and an issue of the expected version in the jira system. The issue of the extracted version may be the issue corresponding to the current extraction, and the issue of the expected version may be the issue corresponding to the stage target.
Specifically, the server side of the building system executes a jira correlation logic, and when an issue of a version to be extracted and an issue of an expected version are created in the jira system, different creation strategies can be executed based on the historical extraction situation of the version of the target APP (i.e., the APP corresponding to the extraction).
Optionally, the creating a measured version of the isue and a desired version of the isue in a jira system includes:
if the current extraction is the first extraction of the large version of the target APP, the target APP has the last extraction, and the last extraction is not cancelled, taking the issue of the last expected version as the issue of the current extraction version, and creating a new issue of the expected version as the issue of the current expected version;
if the current upgrading is the first upgrading of the large version of the target APP, the last upgrading of the target APP exists, and the last upgrading is cancelled, taking the issue of the version upgraded last time as the issue of the version upgraded this time, and taking the issue of the version expected last time as the issue of the version expected this time;
and if the current test is the first test of the large version of the target APP and the target APP does not have the previous test, directly creating the issue of the current test version and the issue of the current expected version.
Specifically, if the current extraction is the first extraction of the large version of the target APP, first determining whether the target APP has the last extraction, if the last extraction is available and the last extraction is not cancelled, taking the issue of the last expected version as the issue of the current extraction, and creating a new issue of the expected version as the issue of the current expected version; if there is a last extraction but the last extraction is cancelled, the last extracted version is taken as the last extracted version and the last expected version is taken as the last expected version.
If the target APP is determined not to be subjected to the last test lifting, the issue of the current test lifting version and the issue of the current expected version can be directly created.
Optionally, the creating a measured version of the isue and a desired version of the isue in a jira system includes:
and if the current upgrading is the first upgrading of the target APP small version, directly creating the issue of the current upgrading version and the issue of the current expected version.
Specifically, if the current upgrade is the first upgrade of the target APP small version, the issue of the current upgrade version and the issue of the current expected version may be directly created to maintain independence.
Optionally, the creating a measured version of the isue and a desired version of the isue in a jira system includes:
if the target APP has the last extraction test and the last extraction test is not cancelled, taking the last desired version of the ISSue as the version of the current extraction test, and creating a new desired version of the ISSue as the version of the current desired version;
and if the target APP has the last submission and the last submission is cancelled, taking the issue of the last submission version as the issue of the current submission version, and taking the issue of the last expected version as the issue of the current expected version.
Specifically, if the current extraction is not the first extraction of the target APP, after determining that the previous extraction of the target APP is not cancelled, taking the last desired version of the ISSue as the ISSue of the current extraction version, and creating a new desired version of the ISSue as the ISSue of the current desired version; if the target APP is not extracted last time, the last version of the extraction can be used as the last version of the extraction, and the last version of the expectation can be used as the last version of the expectation.
Fig. 2 is a timing diagram for resource package extraction provided by the present invention, as shown in fig. 2, a user (e.g., H5 developer) implements interaction between a building system, a project management system jira, and a code management system gerrit by operating on the building system, and implements a resource package extraction function, and a main flow thereof includes the following parts:
1. when a developer clicks a "submit" button on the front end of the building system (i.e., the front page in fig. 2), the front end requests the server end of the building system (i.e., the building system in fig. 2) for a storage list of resource packages, and the server end returns the storage list. The front end requests a building list (APPname) of the latest submission of each version of the APP, and the server end returns the building list of the latest submission. The front end may pop up a test frame to the developer.
2. The developer inputs the extraction APP, the influence version, the storage associated with the extraction, the extraction description and the like, and the front end requests the server end for the extraction interface (building id, APPNAme, storage, influence version, extraction relevant description and the like).
3. And adding an APP lifting lock at the server end of the construction system, locking the information lifted and tested at this time, then inquiring the target APP construction, judging whether the Check is packaged, whether the Check is a self-testing package or not when the Check is not lifted and judging whether the Check has a task being constructed or not. And calculating the number of the test rounds according to the Check result to generate a test order, wherein the logic of the test order generation is as follows:
creating an empty test ticket;
filling basic information such as associated resource packages, resource package versions, resource package tags, associated APPs, APP versions, APP construction, people lifting and time lifting and the like;
filling Story list information;
if the dependency relationship exists, inquiring the dependency construction, traversing and comparing the two constructed setting items, and finding out a newly added module, a deleted module and a version modified module; for the version modification module, calling a Git client to obtain submission difference information of a Git Tag corresponding to the constructed version, and filling the difference information into a submission list;
and storing the test order data.
4. Executing the Jira correlation logic, calling a Jira interface, creating a submission exception:
1) if the target APP large version is the 1 st test.
a) If the last test is carried out:
if the last extraction is not cancelled, the extraction version inherits the last expected version and creates a new expected version.
If the last test is cancelled, the last two versions are directly inherited.
b) If not, a test version and an expected version are created.
2) And if the target APP small version is subjected to 1 st test, creating a test version and an expected version, and keeping independence.
3) If not, the 1 st test.
If the last extraction is not cancelled, the extraction version inherits the last expected version and creates a new expected version.
If the last test is cancelled, the last two versions are directly inherited.
It should be noted that, if it is found that the target version does not exist (may be deleted artificially) in the process of modifying the name of the target version to correspond to the name of the version being proposed this time (for example, inheriting the last version), the new version is created as compensation.
5. And marking the target APP construction mark as the extracted test, recording the extraction times, updating the extraction times of the target APP version, and updating the testability of the target Story.
6. Recording an APP test event, wherein the content comprises: and (5) extracting the single id, the Story list and the number of the detection rounds, and storing the event.
7. The system returns the operation result. And after the front-end page receives the success message returned by the server, closing the extraction frame, requesting the server to update the resource package construction list, the version list and the storage list, and after the server returns corresponding information, displaying the updated construction list, the version list, the storage list and other updated information (such as updating the extraction times, updating the testability and the like) on the front-end page for the development and other personnel to check.
The resource package extracting device provided by the present invention is described below, and the resource package extracting device described below and the resource package extracting method described above may be referred to correspondingly.
Fig. 3 is a schematic structural diagram of a resource package detecting device provided in the present invention, and as shown in fig. 3, the device includes:
the response module 300 is configured to respond to a request for constructing a front-end page of the system, and return a store list and a construction list of the resource package to be tested to the front-end page of the construction system;
the query module 310 is configured to lock the extracted information and query the construction information of the resource package after receiving the extracted information input by the user and sent by the front-end page of the construction system;
the generating module 320 is configured to create a blank sampling list and fill the sampling base information and the storage list information to generate a sampling list after determining that the sampling list can be generated based on the construction information.
Optionally, the generating module 320 is configured to: if it is determined that the build of the resource package is packaged and not being tested and no task is being built, it is determined that a test order can be generated.
Optionally, the generating module 320 is further configured to: if the dependency construction of the current resource package construction is determined to exist, inquiring the dependency construction, traversing and comparing the setting items of the current resource package construction and the dependency construction, and determining a newly added module, a deleted module and a version modification module; and for the version modification module, calling the Git client to acquire submission difference information of the Git Tag corresponding to the constructed version, and filling the difference information into the submission list.
Optionally, the apparatus further comprises:
and the creating module 330 is used for calling a jira interface and creating the issue of the testing version and the issue of the expected version in the jira system.
Optionally, the creating module 330 is configured to: if the current extraction is the first extraction of the large version of the target APP, the target APP has the last extraction, and the last extraction is not cancelled, taking the issue of the last expected version as the issue of the current extraction version, and creating a new issue of the expected version as the issue of the current expected version; if the current upgrading is the first upgrading of the large version of the target APP, the last upgrading of the target APP exists, and the last upgrading is cancelled, taking the issue of the version upgraded last time as the issue of the version upgraded this time, and taking the issue of the version expected last time as the issue of the version expected this time; and if the current test is the first test of the large version of the target APP and the target APP does not have the previous test, directly creating the issue of the current test version and the issue of the current expected version.
Optionally, the creating module 330 is configured to: and if the current upgrading is the first upgrading of the target APP small version, directly creating the issue of the current upgrading version and the issue of the current expected version.
Optionally, the creating module 330 is configured to: if the target APP has the last extraction test and the last extraction test is not cancelled, taking the last desired version of the ISSue as the version of the current extraction test, and creating a new desired version of the ISSue as the version of the current desired version; and if the target APP has the last submission and the last submission is cancelled, taking the issue of the last submission version as the issue of the current submission version, and taking the issue of the last expected version as the issue of the current expected version.
It should be noted that, the apparatus provided in the present invention can implement all the method steps implemented by the method embodiments and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as the method embodiments in this embodiment are omitted here.
Fig. 4 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 4, the electronic device may include: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform the steps of any of the resource package determination methods provided in the embodiments above, such as: responding to a request of a front-end page of the building system, and returning a store list and a building list of the resource package to be tested to the front-end page of the building system; after receiving the extracting and testing information input by a user and sent by a front-end page of the construction system, locking the extracting and testing information, and inquiring the construction information of the resource package; and after determining that the extraction order can be generated based on the construction information, creating a blank extraction order, filling extraction basic information and storage list information, and generating the extraction order.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer being capable of executing the steps of any of the resource package extracting methods provided by the above embodiments, such as: responding to a request of a front-end page of the building system, and returning a store list and a building list of the resource package to be tested to the front-end page of the building system; after receiving the extracting and testing information input by a user and sent by a front-end page of the construction system, locking the extracting and testing information, and inquiring the construction information of the resource package; and after determining that the extraction order can be generated based on the construction information, creating a blank extraction order, filling extraction basic information and storage list information, and generating the extraction order.
In yet another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program being implemented to perform the steps of any one of the resource package determination methods provided in the above embodiments, for example: responding to a request of a front-end page of the building system, and returning a store list and a building list of the resource package to be tested to the front-end page of the building system; after receiving the extracting and testing information input by a user and sent by a front-end page of the construction system, locking the extracting and testing information, and inquiring the construction information of the resource package; and after determining that the extraction order can be generated based on the construction information, creating a blank extraction order, filling extraction basic information and storage list information, and generating the extraction order.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for resource packet extraction, comprising:
responding to a request of a front-end page of a construction system, and returning a store list and a construction list of a resource package to be tested to the front-end page of the construction system;
after receiving the extracting and testing information input by the user and sent by the front page of the construction system, locking the extracting and testing information, and inquiring the construction information of the resource package;
and after determining that the extraction order can be generated based on the construction information, creating a blank extraction order, filling extraction basic information and storage list information, and generating the extraction order.
2. The method according to claim 1, wherein the determining that the report can be generated based on the building information comprises:
if the fact that the construction of the resource package is packaged and not tested is determined, and no task is being constructed, it is determined that a test order can be generated.
3. The method of claim 1, further comprising:
if the dependency construction of the current resource package construction is determined to exist, inquiring the dependency construction, traversing and comparing the setting items of the current resource package construction and the dependency construction, and determining a newly added module, a deleted module and a version modification module;
and for the version modification module, calling the Git client to obtain submission difference information of the Git Tag corresponding to the constructed version, and filling the difference information into the submission list.
4. The method of claim 1, further comprising:
and calling a jira interface, and creating the issue of the testing version and the issue of the expected version in the jira system.
5. The method of claim 4, wherein creating an assertion of a proposed version and an assertion of a desired version in a jira system comprises:
if the current extraction is the first extraction of the large version of the target APP, the target APP has the last extraction, and the last extraction is not cancelled, taking the issue of the last expected version as the issue of the current extraction version, and creating a new issue of the expected version as the issue of the current expected version;
if the current upgrading is the first upgrading of the large version of the target APP, the last upgrading of the target APP exists, and the last upgrading is cancelled, taking the issue of the version upgraded last time as the issue of the version upgraded this time, and taking the issue of the version expected last time as the issue of the version expected this time;
and if the current test is the first test of the large version of the target APP and the target APP does not have the previous test, directly creating the issue of the current test version and the issue of the current expected version.
6. The method of claim 4, wherein creating an assertion of a proposed version and an assertion of a desired version in a jira system comprises:
and if the current upgrading is the first upgrading of the target APP small version, directly creating the issue of the current upgrading version and the issue of the current expected version.
7. The method of claim 4, wherein creating an assertion of a proposed version and an assertion of a desired version in a jira system comprises:
if the target APP has the last extraction test and the last extraction test is not cancelled, taking the last desired version of the ISSue as the version of the current extraction test, and creating a new desired version of the ISSue as the version of the current desired version;
and if the target APP has the last submission and the last submission is cancelled, taking the issue of the last submission version as the issue of the current submission version, and taking the issue of the last expected version as the issue of the current expected version.
8. A resource package extraction device, comprising:
the response module is used for responding to a request for constructing a front-end page of the system and returning a store list and a construction list of the resource package to be detected to the front-end page of the construction system;
the query module is used for locking the extracted information and querying the construction information of the resource package after receiving the extracted information input by the user and sent by the front-end page of the construction system;
and the generating module is used for creating a blank sampling list and filling sampling basic information and storage list information to generate the sampling list after determining that the sampling list can be generated based on the construction information.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method for resource package extraction according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the steps of the resource package provisioning method according to any of claims 1 to 7.
CN202110721735.3A 2021-06-28 2021-06-28 Resource package testing method and device, electronic equipment and storage medium Active CN113434415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110721735.3A CN113434415B (en) 2021-06-28 2021-06-28 Resource package testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110721735.3A CN113434415B (en) 2021-06-28 2021-06-28 Resource package testing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113434415A true CN113434415A (en) 2021-09-24
CN113434415B CN113434415B (en) 2023-07-21

Family

ID=77755132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110721735.3A Active CN113434415B (en) 2021-06-28 2021-06-28 Resource package testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113434415B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180322035A1 (en) * 2017-05-04 2018-11-08 Hcl Technologies Limited Automation testing platform for facilitating automatic testing of an information technology (it) enabled application
CN108829399A (en) * 2018-04-13 2018-11-16 杭州朗和科技有限公司 A kind of test method of application, test device, medium and calculate equipment
CN109491663A (en) * 2018-11-01 2019-03-19 北京车和家信息技术有限公司 Code inspection method and device
CN109725906A (en) * 2018-12-30 2019-05-07 上海创功通讯技术有限公司 A kind of code compiling method and corresponding continuous integration system
CN110580216A (en) * 2018-06-08 2019-12-17 北京京东尚科信息技术有限公司 application extraction and detection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180322035A1 (en) * 2017-05-04 2018-11-08 Hcl Technologies Limited Automation testing platform for facilitating automatic testing of an information technology (it) enabled application
CN108829399A (en) * 2018-04-13 2018-11-16 杭州朗和科技有限公司 A kind of test method of application, test device, medium and calculate equipment
CN110580216A (en) * 2018-06-08 2019-12-17 北京京东尚科信息技术有限公司 application extraction and detection method and device
CN109491663A (en) * 2018-11-01 2019-03-19 北京车和家信息技术有限公司 Code inspection method and device
CN109725906A (en) * 2018-12-30 2019-05-07 上海创功通讯技术有限公司 A kind of code compiling method and corresponding continuous integration system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
LIANG YU 等: ""Utilising CI environment for efficient and effective testing of NFRs"", 《INFORMATION AND SOFTWARE TECHNOLOGY》, pages 1 - 5 *
一只孤独的程序猿: ""准时下班的秘密:集成 GitLab && JIRA 实现自动化工作流"", pages 1 - 8, Retrieved from the Internet <URL:《https://zhuanlan.zhihu.com/p/194257611》> *
刘颖: ""基于持续集成的配置管理系统设计与实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》, pages 138 - 178 *
无: ""应用DevOps流程——应用预发布&应用提测"", pages 1 - 8, Retrieved from the Internet <URL:《https://www.aisoutu.com/a/73391》> *

Also Published As

Publication number Publication date
CN113434415B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
US7962920B2 (en) Providing a business logic framework
US20200073783A1 (en) Automated software verification service
CN105389256B (en) A kind of unit test method and system
US7769821B2 (en) Systems and methods for enhanced meassage support using a generic client proxy
US8356056B2 (en) Functional extensions for business objects
US9483385B2 (en) Method, program, and system for generating test cases
US9754242B2 (en) Deployment mechanism for non-versioning business process artifacts
GB2502406A (en) Method of applying an update to a communication protocol.
CN111343181B (en) Message processing method and system, data pool and computer readable storage medium
KR102204527B1 (en) Method and apparatus for updating application, and device computer readable storage medium
CN113741909B (en) Micro-service deployment method and device, electronic equipment and storage medium
CN110659206A (en) Simulation architecture establishing method, device, medium and electronic equipment based on microservice
CN113448862B (en) Software version testing method and device and computer equipment
CN109298900A (en) A kind of application fractionation and on-demand loading method, apparatus
CN112068874B (en) Continuous integration method and device for software items, terminal equipment and storage medium
CN108139947A (en) For web user interface to be applied the system and method being isolated with engine when bottom persistence framework and operation in integrated service based on cloud
CN111061637B (en) Interface testing method, interface testing device and storage medium
CN113434415A (en) Resource package extracting and detecting method and device, electronic equipment and storage medium
CN116700778A (en) Interface difference analysis method, device, storage medium and apparatus
CN116303250A (en) Accounting archive data management method and device, electronic equipment and medium
CN112667491B (en) Function test method and device for virtual machine
CN110096508B (en) Service configuration method and device, service data acquisition method and electronic equipment
CN114764334A (en) Software packaging method, equipment, storage medium and device
US8812350B2 (en) Service evolution approach in SOA
CN116028138B (en) Application publishing method and device

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
GR01 Patent grant
GR01 Patent grant