CN109426602A - Detection method and equipment used in a kind of application development process - Google Patents

Detection method and equipment used in a kind of application development process Download PDF

Info

Publication number
CN109426602A
CN109426602A CN201710584094.5A CN201710584094A CN109426602A CN 109426602 A CN109426602 A CN 109426602A CN 201710584094 A CN201710584094 A CN 201710584094A CN 109426602 A CN109426602 A CN 109426602A
Authority
CN
China
Prior art keywords
tool
code
application
continuous integrating
sent
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
CN201710584094.5A
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.)
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Internet 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 China Mobile Communications Group Co Ltd, China Mobile Internet Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710584094.5A priority Critical patent/CN109426602A/en
Publication of CN109426602A publication Critical patent/CN109426602A/en
Pending legal-status Critical Current

Links

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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • 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)
  • Stored Programmes (AREA)

Abstract

The invention discloses detection methods used in a kind of application development process, comprising: establishes tools chain, the tools chain is the tools chain constituted after continuous integrating tool, automatic the build tool, simulation tool and automated test frame tool are sequentially connected;After determining that continuous integrating tool receives code, make continuous integrating tool that code is sent to automatic the build tool;Make automatic the build tool according to code building application, and will apply and be mounted on simulation tool;Test automated test frame tool to the application on simulation tool, the test result being applied, and the test result of application is sent to continuous integrating tool.The present invention also discloses equipment used in a kind of application development process.

Description

Detection method and equipment used in a kind of application development process
Technical field
The present invention relates to detection methods used in the technical field of application and development more particularly to a kind of application development process And equipment.
Background technique
To meet the user demand constantly updated, the application of intelligent terminal needs quick, frequent version iteration, meanwhile, For the quality for ensureing application, a large amount of complicated detection work are certainly existed in application development process;Therefore, application and development is realized Process automation is the key that improve development efficiency.
Currently, the automatic capability that application development process has is mainly by industry development platform and Integrated Development Environment institute The function of offer determines;There are limitations for existing application development process automatic technology scheme, for example, application development process needs It wants developer to be manually operated, is run independently of each other between the tool being related to, it is unrelated, automation tools chain is not formed, Cause development process not simple convenient enough, development efficiency is not high.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide detection method used in a kind of application development process and equipment, To realize the simple facilitation of application development process, working efficiency is improved.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
The present invention provides detection method used in a kind of application development process, which comprises
Tools chain is established, the tools chain is continuous integrating tool, automatic the build tool, simulation tool and automatic test The tools chain that framing tools are constituted after being sequentially connected;
After determining that the continuous integrating tool receives code, send the continuous integrating tool by the code To described automatic the build tool;
Described automatic the build tool is set to be mounted on the simulation tool according to the code building application, and by the application On;
It tests the automated test frame tool to the application on the simulation tool, obtains described answer Test result, and the test result of the application is sent to the continuous integrating tool.
In above scheme, after determining that the continuous integrating tool receives code, make the continuous integrating tool will The code is sent to before described automatic the build tool, the method also includes:
Establish the connection of Version Yu the continuous integrating tool;
Make the Version that the code is sent to the continuous integrating tool.
It is described after the test result by the application is sent to the continuous integrating tool in above scheme Method further include:
Make the continuous integrating tool that the test result of the application is sent to the Version.
It include compilation tool, unit testing framing tools and code in described automatic the build tool in above scheme When normalized checking tool,
It is described to make described automatic the build tool according to the code building application, comprising:
Apply the compilation tool according to the code building;
It is described apply the compilation tool according to the code building after, the method also includes:
So that the unit testing framing tools is carried out code unit test to the code, obtains code unit test knot Fruit;
So that the code specification checking tool is carried out code specification inspection to the code, obtains code specification inspection knot Fruit.
In above scheme, so that the code specification checking tool is carried out code specification inspection to the code described, obtain To after code specification inspection result, the method also includes:
Make the unit testing framing tools that the code unit test result is sent to the continuous integrating tool, makes The code specification inspection result is sent to the continuous integrating tool by the code specification checking tool.
In above scheme, the method also includes:
Make the continuous integrating tool that the code unit test result, the code specification inspection result are sent to institute State Version.
In above scheme, it is described establish tools chain before, the method also includes:
The continuous integrating tool is set to judge whether the status indicator of the project of the code is to start to identify;
It is described to establish tools chain, comprising:
If making the continuous integrating tool judge that the status indicator of the project of the code is described to start to identify, establish The tools chain.
In above scheme, it is described the application is mounted on the simulation tool before, the method also includes:
Judge whether the simulation tool normally starts;
It is described that the application is mounted on the simulation tool, comprising:
If the simulation tool normally starts, the application is mounted on the simulation tool.
The present invention also provides detection device used in a kind of application development process, the equipment includes: interface, bus, Memory, with processor, the interface, the memory are connected with the processor by the bus, the memory For storing computer program, the processor reads the computer program and is used for:
Tools chain is established, the tools chain is continuous integrating tool, automatic the build tool, simulation tool and automatic test The tools chain that framing tools are constituted after being sequentially connected;
After determining that the continuous integrating tool receives code, send the continuous integrating tool by the code To described automatic the build tool;
Described automatic the build tool is set to be mounted on the simulation tool according to the code building application, and by the application On;
It tests the automated test frame tool to the application on the simulation tool, obtains described answer Test result, and the test result of the application is sent to the continuous integrating tool.
In above scheme, the processor reads the computer program and is also used to:
Establish the connection of Version Yu the continuous integrating tool;
Make the Version that the code is sent to the continuous integrating tool.
In above scheme, the processor reads the computer program and is also used to:
Make the continuous integrating tool that the test result of the application is sent to the Version.
It include compilation tool, unit testing framing tools and code in described automatic the build tool in above scheme When normalized checking tool,
The processor reads the computer program and is specifically used for:
Apply the compilation tool according to the code building;
The processor reads the computer program and is also used to:
So that the unit testing framing tools is carried out code unit test to the code, obtains code unit test knot Fruit;
So that the code specification checking tool is carried out code specification inspection to the code, obtains code specification inspection knot Fruit.
In above scheme, the processor reads the computer program and is also used to:
Make the unit testing framing tools that the code unit test result is sent to the continuous integrating tool, makes The code specification inspection result is sent to the continuous integrating tool by the code specification checking tool.
In above scheme, the processor reads the computer program and is also used to:
Make the continuous integrating tool that the code unit test result, the code specification inspection result are sent to institute State Version.
In above scheme, the processor reads the computer program and is also used to:
The continuous integrating tool is set to judge whether the status indicator of the project of the code is to start to identify;
The processor reads the computer program and is specifically used for:
If making the continuous integrating tool judge that the status indicator of the project of the code is described to start to identify, establish The tools chain.
In above scheme, the processor reads the computer program and is also used to:
Judge whether the simulation tool normally starts;
The processor reads the computer program and is specifically used for:
If the simulation tool normally starts, the application is mounted on the simulation tool.
The present invention also provides a kind of computer readable storage medium, calculating is stored in the computer readable storage medium Machine program, the computer program realize application development process as claimed in any one of claims 1 to 8 when being executed by processor Used in detection method the step of.
The present invention also provides detection device used in a kind of application development process, described device includes:
Module is established, for establishing tools chain, the tools chain is continuous integrating tool, automatic the build tool, simulation work The tools chain that tool and automated test frame tool are constituted after being sequentially connected;
First processing module, for making the continuous integrating after determining that the continuous integrating tool receives code The code is sent to described automatic the build tool by tool;
Second processing module, for making described automatic the build tool according to the code building application, and by the application It is mounted on the simulation tool;
Third processing module, for make the automated test frame tool to described on the simulation tool apply into Row test, obtains the test result of the application, and the test result of the application is sent to the continuous integrating tool.
Detection method used in application development process provided in an embodiment of the present invention and equipment, by establishing tools chain, The tools chain is that continuous integrating tool, automatic the build tool, simulation tool and automated test frame tool are sequentially connected rear structure At tools chain;After determining that continuous integrating tool receives code, make continuous integrating tool that code is sent to automatic structure Build tool;Make automatic the build tool according to code building application, and will apply and be mounted on simulation tool;Make automatic test frame Frame tool tests the application on simulation tool, the test result being applied, and the test result of application is sent to Continuous integrating tool;By establishing and using tools chain, helps developer under the exploitation environment of continuous integrating, be automatically performed The detection of application to be detected in development process, replaces developer present in development process in a manner of automation tools chain The mode of manual operation, making can be interrelated between the tool being related to, and realizes the simple facilitation of application development process, mentions High working efficiency.
Detailed description of the invention
Fig. 1 is the flow chart of detection method embodiment one used in application development process of the present invention;
Fig. 2 is the flow chart of detection method embodiment two used in application development process of the present invention;
Fig. 3 is the architecture diagram of detection method embodiment three used in application development process of the present invention;
Fig. 4 is the structural schematic diagram of detection device embodiment used in application development process of the present invention;
Fig. 5 is the structural schematic diagram of detection device embodiment used in application development process of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
Fig. 1 is the flow chart of detection method embodiment one used in application development process of the present invention, as shown in Figure 1, this Detection method used in the application development process that inventive embodiments provide can apply the inspection used in application development process On measurement equipment (hereinafter referred to as equipment), this method be may include steps of:
Step 101 establishes tools chain.
Equipment establishes tools chain corresponding to the code of application to be detected, which is continuous integrating tool, automatic structure Build the tools chain constituted after tool, simulation tool and automated test frame tool are sequentially connected;I.e. equipment by several tools it Between form the automation tools chain of a code for application to be detected, can be in communication with each other between several tools;Wherein, to The configuration information for detecting tools chain corresponding to the code of application can be configured by developer in advance, i.e., get out work in advance Have the configuration information of chain, when carrying out code detection, automation tools chain is generated according to the configuration information of tools chain, saves exploitation The process of personnel's each tool of separate configurations in the detection process.
Step 102, after determining that the continuous integrating tool receives code, keep the continuous integrating tool described Code is sent to described automatic the build tool.
Equipment makes the continuous integrating tool should after determining code that continuous integrating tool receives application to be detected The code of application to be detected is sent in the automatic the build tool.
Step 103 makes described automatic the build tool according to the code building application, and the application is mounted on described On simulation tool.
Equipment makes automatic the build tool according to the code building application to be detected of application to be detected, and by the application to be detected It is mounted on simulation tool;Wherein, which can integrate in equipment, also can be set outside equipment, simulation tool Model, operating system etc. relevant parameter can be configured according to the actual situation, be not limited herein;It can fit in this way For developer all in development teams, and can be multiplexed in different application environments.
Step 104 tests the automated test frame tool to the application on the simulation tool, obtains The continuous integrating tool is sent to the test result of the application, and by the test result of the application.
Equipment tests automated test frame tool to the application to be tested installed on the simulation tool, is somebody's turn to do The test result of application to be tested, and the test result of the application to be tested is sent on continuous integrating tool, the lasting collection The test result of the application to be tested is presented to developer at tool.
Detection method used in application development process provided in an embodiment of the present invention, equipment, should by establishing tools chain Tools chain is to constitute after continuous integrating tool, automatic the build tool, simulation tool and automated test frame tool are sequentially connected Tools chain;After determining that continuous integrating tool receives code, make continuous integrating tool that code is sent to automatic building Tool;Make automatic the build tool according to code building application, and will apply and be mounted on simulation tool;Make automated test frame Tool tests the application on simulation tool, the test result being applied, and the test result of application is sent to and is held Continuous integration tool;By establishing and using tools chain, helps developer under the exploitation environment of continuous integrating, be automatically performed out The detection of application to be detected during hair, replaces developer's hand present in development process in a manner of automation tools chain The mode of dynamic operation, making can be interrelated between the tool being related to, and realizes the simple facilitation of application development process, improves Working efficiency.
It is on the basis of the above embodiments, further to illustrate in order to more embody the purpose of the present invention.
Fig. 2 is the flow chart of detection method embodiment two used in application development process of the present invention, as shown in Fig. 2, this Detection method used in the application development process that inventive embodiments provide may include steps of:
Step 201, the connection for establishing Version Yu continuous integrating tool.
Equipment establishes the connection of Version Yu continuous integrating tool, makes Version and continuous integrating tool It can communicate.
Step 202 makes Version that will be sent to continuous integrating tool to code.
It is lasting that equipment is sent to Version by the code for the application to be detected being stored in Version In integration tool;Wherein, the code of the application to be detected in Version is inputted or is imported by developer in advance.
Step 203 makes continuous integrating tool judge whether the status indicator of the project of code is to start to identify.
After the code of application to be detected is imported into continuous integrating tool, continuous integrating tool can be currently to be checked One status indicator of allocation of items of the code of application is surveyed, which is used to indicate whether project can start to execute, if The status indicator of the project of the code of the standby application to be detected that the judgement of continuous integrating tool can be made current whether be start to identify, if Make continuous integrating tool judge that the status indicator of the project of code is non-to start to identify, thens follow the steps 204;If making continuous integrating Tool judges that the status indicator of the project of code to start to identify, thens follow the steps 205.
Step 204 re-execute the steps 203.
Equipment re-execute the steps 203.
Step 205 establishes tools chain.
Equipment establishes tools chain corresponding to the code of application to be detected, which is continuous integrating tool, automatic structure Build the tools chain constituted after tool, simulation tool and automated test frame tool are sequentially connected;Include in automatic the build tool There are compilation tool, unit testing framing tools and code specification checking tool.
I.e. equipment will form the automation tools chain for being directed to the code of application to be detected, Ji Gegong between several tools It can be in communication with each other between tool;Wherein, the configuration information of tools chain corresponding to the code of application to be detected can be in advance by opening It is good to send out personnel depaly, i.e., gets out the configuration information of tools chain in advance, when carrying out code detection, confidence is matched according to tools chain Breath generates automation tools chain, saves the process of developer's each tool of separate configurations in the detection process.
Wherein, which can integrate in equipment, also can be set outside equipment, the model of simulation tool, behaviour Making system etc. relevant parameter can be configured according to the actual situation, be not limited herein;It can be adapted for developing in this way All developers in team, and can be multiplexed in different application environments.
Step 206, after determining that continuous integrating tool receives code, make continuous integrating tool by code be sent to from Dynamic the build tool.
Equipment makes the continuous integrating tool should after determining code that continuous integrating tool receives application to be detected The code of application to be detected is sent in the automatic the build tool, and later, equipment makes each tool in the automatic the build tool It handles respectively.
Step 207 makes compilation tool according to code building application.
Equipment makes compilation tool according to the code building application to be detected of application to be detected.
Step 208 makes unit testing framing tools carry out code unit test to code, obtains code unit test knot Fruit.
Equipment makes unit testing framing tools carry out code unit test to the code of application to be detected, obtains code unit Test result.
Step 209 makes code specification checking tool carry out code specification inspection to code, obtains code specification inspection knot Fruit.
Equipment makes code specification checking tool carry out code specification inspection to the code of application to be detected, obtains code specification Inspection result.
Step 210 makes unit testing framing tools that code unit test result is sent to continuous integrating tool, makes code Code specification inspection result is sent to continuous integrating tool by normalized checking tool.
After obtaining code unit test result and code specification inspection result, equipment makes unit testing framing tools will generation Code unit testing result is sent to continuous integrating tool, while sends code specification checking tool by code specification inspection result To continuous integrating tool.
The code unit test result and code specification inspection result can be convenient developer manage in the future, maintenance application Version improves the quality of application.
Step 211 makes continuous integrating tool that code unit test result, code specification inspection result are sent to version pipe Science and engineering tool.
Equipment makes continuous integrating tool that code unit test result, code specification inspection result are sent to version management work Tool understands the detected status of code so that developer intuitively can check and analyze in real time.
Step 212 judges whether simulation tool normally starts.
Equipment judges whether simulation tool normally starts, if judging, simulation tool is improper starting, thens follow the steps 213;If judging, simulation tool is normal starting, thens follow the steps 214.
Step 213 ends processing task.
Device end handles task, while notifying developer.
Step 214, will be using being mounted on simulation tool.
Application to be detected is mounted on simulation tool by equipment.
Step 215 tests automated test frame tool to the application on simulation tool, the test being applied As a result, and the test result of application is sent to continuous integrating tool.
Equipment tests automated test frame tool to the application to be tested installed on the simulation tool, is somebody's turn to do The test result of application to be tested, and the test result of the application to be tested is sent on continuous integrating tool.
Step 216 makes continuous integrating tool that the test result of application is sent to Version.
Equipment makes continuous integrating tool that the test result of application to be detected is sent to Version, for exploit person Member intuitively can check and analyze, and understand detected status in real time.
Detection method used in application development process provided in an embodiment of the present invention, equipment is by establishing version management work The connection of tool and continuous integrating tool;Make Version that will be sent to continuous integrating tool to code;Make continuous integrating work Tool judges whether the status indicator of the project of code is to start to identify, and if starting to identify, then establishes tools chain, wherein the work Tool chain is to constitute after continuous integrating tool, automatic the build tool, simulation tool and automated test frame tool are sequentially connected Tools chain includes compilation tool, unit testing framing tools and code specification checking tool in automatic the build tool;In determination After continuous integrating tool receives code out, make continuous integrating tool that code is sent to automatic the build tool;Make compilation tool According to code building application;So that unit testing framing tools is carried out code unit test to code, obtains code unit test knot Fruit;So that code specification checking tool is carried out code specification inspection to code, obtains code specification inspection result;Examine code specification It looks into tool and code specification inspection is carried out to code, obtain code specification inspection result;Survey continuous integrating tool by code unit Test result, code specification inspection result are sent to Version;Judge whether simulation tool normally starts, if normally opening It is dynamic, then it will apply and be mounted on simulation tool;It tests automated test frame tool to the application on simulation tool, obtains Continuous integrating tool is sent to the test result of application, and by the test result of application;Make continuous integrating tool by application Test result is sent to Version;By establishing and using tools chain, help developer in the exploitation of continuous integrating Under environment, it is automatically performed the detection of the application to be detected in development process, replaces development process in a manner of automation tools chain Present in developer manual operation mode, making can be interrelated between the tool being related to, and realizes application and development The simple facilitation of journey, improves work efficiency;In addition, increasing the static code inspection of application code, functional test, version The functions such as management are conducive to improve application and development efficiency, and specification application development process ensures application and development quality.
In order to more embody the purpose of above-described embodiment, on the basis of the above embodiments, further with Android (Android) carry out the scheme that the present invention will be described in detail for exploitation environment.
The present embodiment can be automatically performed project build, code it is intended that Android client developer provides one A series of development process tools chain of functions such as scanning, automatic test, continuous integrating, version management;Fig. 3 is present invention application The architecture diagram of detection method embodiment three used in development process, as shown in figure 3, Android in a computer develops ring Under border, the continuous integrating tool in tools chain is Jenkins, and automatic the build tool is Ant, and simulation tool is mobile phone simulator, Automated test frame tool is Robotium;Wherein, unit testing framing tools are JUnit, and code specification checking tool is Fingbugs (or Findsecbugs) plug-in unit, Checkstyle plug-in unit and static analysis tools (Project Manager Design, PMD);Version is Subversion (SVN);Core Generator chain is controlled by the console in computer, And command tools chain carries out task processing, carrys out the automatically working of implementation tool chain.
Jenkins is the core of tools chain, the execution of control system automatic flow.
The function of Ant is to execute code compilation, collects the calling of pairs of code unit test and code specification audit function.
The function of JUnit is the application test case created according to developer, and whether Validation Code built-in function logic Correctly.
The function of Fingbugs (or Findsecbugs) plug-in unit, Checkstyle plug-in unit and PMD is according to specified code Rule set executes code specification inspection.
The function of Robotium is the automatic test script write according to developer, is carried out to the function of development and application Black-box Testing.
SVN includes SVN server (VisualSVN Server) and SVN client (TortoiseSVN);SVN service Device is for management code repository and user right, and SVN client is developer to submit code, execute code synchronisation The tool of update.
Each tool as described above, forms the tools chain of complete set, which is SVN+Jenkins+Ant Compilation tool+JUnit+Fingbugs (Findsecbugs)/Checkstyle/PMD+ mobile phone simulator+Robotium.
It based on the association between above-mentioned each tool and gets through, is completed in an automated manner by the command tools chain of console Application and development and test job process;For example, when developer incite somebody to action this in the case where Eclipse develops environment or in file manager The code on ground is committed to SVN server, and console instructions SVN server triggers Jenkins immediately and is sent to code Jenkins, and start project build (building of tools chain);Code is sent to the compiling work of Ant by console instructions Jenkins In tool, make compilation tool carry out item code compiling, generate development and application, and call JUnit carry out unit testing and Fingbugs (Findsecbugs)/Checkstyle/PMD carries out code specification inspection, corresponding examining report is generated, by phase The examining report answered is sent to Jenkins;After constructing successfully, console instructions Jenkins ties exploitation code and building detection Fruit increment is committed to SVN server;Console activates the mobile phone simulator having turned on, and makes the installation of mobile phone simulator is tested to open Hair application, starts Robotium automatic test;After the completion of to be tested, console instructions Robotium will test code and automatic Change test result and increment is committed to Jenkins, then SVN server is sent to by Jenkins.
Specifically, the automatic flow of tools chain is that by developer, by system configuration, (developer can be in advance Relevant information is targetedly configured according to different application environments, may be implemented to be multiplexed in different mobile phone applications), by computer In console in a manner of mission script to tools chain implement control;Four project tasks are created in the console, respectively Exploitation building subtask, exploitation submit subtask, automatic test subtask and test to submit subtask;Son is submitted to appoint exploitation Business and automatic test subtask are set as the Downstream Jobs of exploitation building subtask, i.e., when exploitation building subtask successfully completes Afterwards, triggering is developed and submits subtask and automatic test subtask;Subtask is submitted to be set as automatic test test Triggering is tested that is, after the completion of automatic test subtask and submits subtask by the Downstream Jobs of task.
For the same task, console can order Jenkins successively to execute by the triggered time, and different are appointed Business, console can order Jenkins that can concurrently execute;Console is task assignment space, it is possible to be occurred more The case where a automatic flow is run simultaneously, for example as several developers while code is submitted, it will cause to visit code space The conflict asked needs to monitor flow state mark immediately after task start, makes the working space of exploitation and test subtask not It is occupied by the subtask of the same name of other automatic flows;In addition, it is necessary to which overtime protection is arranged in the perform script of subtask, work as stream The situation of time-out, real-time feedback information to console are encountered in journey operational process.
Specific subtask is illustrated below.
Exploitation building subtask: after tools chain is triggered, console starting exploitation building subtask, it is necessary first to check Automatic flow status indicator sees if there is the process of other while operation;When discovery has other processes to be currently running, this exploitation Building subtask is set to wait for state, is running the subtask, this exploitation building without other processes when poll is detected Task starts to execute the operation such as building, unit testing and code scans;If building failure, console instructions Jenkins are sent Mail notification developer;If constructed successfully, triggering is developed and submits subtask and test subtask;After the building of subtask In operation, JUnit Plug-in, FindBugs Plug-in, Checkstyle Plug-in, PMD Plug-in are configured, structure is made The examining report exported during building, can be shown in Jenkins with chart mode;In addition, exploitation building subtask uses ginseng Building number is delivered separately to exploitation and submits subtask and test subtask by number mode, is appointed so that Downstream Jobs construct son for exploitation The submission storage that this constructs log of being engaged in is prepared.
Subtask is submitted in exploitation: after exploitation submits subtask to be triggered, being removed under project root in addition to .svn catalogue All Files folder and file, will exploitation building subtask catalogue copy to exploitation submit subtask under;Structure is developed according to upstream The building parameter for building subtask transmitting obtains building log from log storage path and copies to exploitation and submits subtask catalogue In, then the contents such as codes all under catalogue, log, the JUnit Unit Test Report of generation, static code audit report are increased Amount is committed to SVN server by Jenkins, and using subtask title and building number as remarks are submitted, exploitation building is appointed Business mark is set as end state.
Automatic test subtask: console detects the mobile phone simulator having connected, if Android simulator has opened It is dynamic, simulator is activated, tested application is installed, automatic test project build is carried out;If simulator fails normally to start, terminate Test subtask sends mail notification;If constructed successfully, subtask is submitted in triggering test;Using parameter mode by subtask Building number passes to test and submits subtask, so that submission storage that Downstream Jobs are test subtask this building log is valid It is standby.
Subtask is submitted in test: after test submits subtask to be triggered, according to the building of upstream test subtask transmitting Number parameter obtains test log from log storage path and copies to test and submits in the catalogue of subtask;By test subtask mesh The contents such as all codes, log, test result increment is submitted to SVN server by Jenkins under record, with subtask title and Building number is as submission remarks;End state is set by test subtask mark.
Here, illustrated in greater detail is carried out for the specific connection type between each tool in tools chain.
Connection between local code and SVN server: developer is by SVN client, by the remote of local exploration project Synchronous and submission of the journey path orientation to SVN server, for code between local and SVN server.
Connection between SVN server and Jenkins: setting on Jenkins using Remote triggering as project build condition, Authentication tokens are set, and the SVN server where alloing exploration project initiates building application to Jenkins;Meanwhile SVN server, which corresponds to, configures post-commit hook script on the repository of this exploration project, indicating will after code is submitted The access linked on Jenkins to this exploration project is initiated, such as http://Jenkins_IP_Address:Port/job/ Project_Name/build? token=token_id.
Connection between Jenkins and Ant: after building task associated with SVN server is triggered, Jenkins starts Mission script is run in a manner of errorlevel;It is to execute building script file build.xml using Ant tool command first Defined in project compile subtask, under normal circumstances, building script file build.xml is located at the root of exploration project Under, in order to make building process cover code check function automatically, need to Jenkins and Android software development kit Build.xml file under (Software Development Kit, SDK) installation path is changed, and newly-increased unit testing is made Check that the building file of subtask can be used in automation tools chain with code specification;Method particularly includes: (a) will construct text Part build.xml is moved under Jenkins installation path as general project build script file, is opened in build.xml file The project definition part of beginning, the installation path sdk.dir of path basedir and Android SDK where statement project;(b) exist Android SDK installation directory tools ant in build.xml file, added before every place's cuit path Basedir enables Ant to construct script automatic adaptation to item Path;(c) in the Ant order line of Jenkins mission script, Addition building file parameters "-builfile " and its parameter value, Ant will call the script file to execute building.
Connection between Ant and JUnit: in Ant building script file build.xml, increase the unit testing to JUnit The definition of subtask junit illustrates the path of JUnit plug-in unit in Android SDK, specifies the files classes of generated test report Type;" ant junit " order is executed by using Ant tool, i.e., executable code unit test, and generate code unit test Report.
Connection between Ant and Findbugs (Findsecbugs), Checkstyle and PMD: code specification is checked into plug-in unit Findbugs (Findsecbugs), Checkstyle and PMD are placed under Ant tool library directory;Script file is constructed in Ant In build.xml, add respectively each code specification check plug-in unit correspond to subtask findbugs (including fingsecbugs), The definition of checkstyle and pmd illustrates path and its title (classname) of class, code specification Ji Wenjianlu of plug-in unit Diameter and the file type for needing to generate test report;" ant findbugs checkstyle is executed by using Ant tool Pmd " order, i.e., executable code specification inspection, and generate code specification and check test report.
Connection between Ant and Robotium: after exploration project is completed to construct and be successfully generated application, tools chain enters certainly Dynamicization testing process runs " ant uninstall installd " by using Ant tool, development and application is mounted on prototype Or to be tested to Robotium on simulator.
Connection between Jenkins and Robotium: automatic test program is by the test item based on Robotium frame It generates, console has the testing mobile phone or simulator that have connected by " adb devices " order verifying, sends to it Keyevent instruction carries out the unlock activation of test terminal;Then, by running Ant tool command " ant uninstall Clean debug install test " is sequentially generated on prototype or simulator, installation and operation Robotium automation is surveyed Try program;In order to obtain the test log run on prototype or simulator and as a result, console by execute " adb Logcat-d " instruction, makes in the test data synchronous transfer to Jenkins operated on prototype or simulator, with Robotium The keyword of test item setting makees filtration treatment to data, makes test log and result on Jenkins as screening conditions It is saved.
Connection (for submitting operation result to SVN server) between Jenkins and SVN server: console passes through Jenkins calls " svn update " order to make project space and SVN server sync;Call " svn delete " and " svn Incremental code, log and the testing result generated in tools chain operational process is collected in add " order;It calls " svn commit " Order carries out code submission, indicates and submits remarks;And pass through " svn status " order monitoring submission state, discovery code punching It is prominent.
Developer realizes project build, static code inspection, function when carrying out application and development test, through this programme The tasks such as test, version management are capable of forming development process automation tools chain and corresponding automation implementing procedure, with automatic Change mode replace at present in the process of development needed for the repetitive operations such as manual construction, test, version management, reduction version opens The coordination of hair and testing process and waiting time are conducive to improve product development efficiency;Secondly, when developer submits code, I.e. start automation tools chain, trigger automatic flow, system can according to automation mission script, successively project implementation building, Unit testing, code scans, smoke test, and save process logs make automatic flow specification, controllable, and each link is not necessarily to people Work participate in, it is simple and convenient, can modular product development process, ensure Quality of Product;In addition, automation tools chain energy Enough suitable for development teams all developers use, meanwhile, automatized script energy automatic identification item argument, reusable in Different exploration projects, each project call respective tools chain therefore can be promoted the use of by different development teams.
Fig. 4 is the structural schematic diagram of detection device embodiment used in application development process of the present invention, as shown in figure 4, Detection device 04 used in application development process provided in an embodiment of the present invention includes:
Module 41 is established, for establishing tools chain, the tools chain is continuous integrating tool, automatic the build tool, simulation The tools chain that tool and automated test frame tool are constituted after being sequentially connected;
First processing module 42, for making the lasting collection after determining that the continuous integrating tool receives code The code is sent to described automatic the build tool at tool;
Second processing module 43 is answered for making described automatic the build tool according to the code building application, and by described in With being mounted on the simulation tool;
Third processing module 44, for making the automated test frame tool to the application on the simulation tool It is tested, obtains the test result of the application, and the test result of the application is sent to the continuous integrating tool.
Further, described to establish module 41, it is also used to establish the company of Version Yu the continuous integrating tool It connects;
It is described to establish module 41, it is also used to make the Version that the code is sent to the continuous integrating work Tool.
Further, the third processing module 44 is also used to make the continuous integrating tool by the test of the application As a result it is sent to the Version.
It further, include compilation tool, unit testing framing tools and code rule in described automatic the build tool When model checking tool,
The Second processing module 43, specifically for applying the compilation tool according to the code building;
The third processing module 44 is also used to that the unit testing framing tools is made to carry out code unit to the code Test, obtains code unit test result;
The third processing module 44 is also used to that the code specification checking tool is made to carry out code specification to the code It checks, obtains code specification inspection result.
Further, the third processing module 44 is also used to make the unit testing framing tools by the code list First test result is sent to the continuous integrating tool, makes the code specification checking tool by the code specification inspection result It is sent to the continuous integrating tool.
Further, the third processing module 44 is also used to survey the continuous integrating tool by the code unit Test result, the code specification inspection result are sent to the Version.
Further, described to establish module 41, the project for being also used to that the continuous integrating tool is made to judge the code Whether status indicator is to start to identify;
It is described to establish module 41, if also particularly useful for make the continuous integrating tool judge the code project state Be identified as it is described start to identify, then establish the tools chain.
Further, the Second processing module 43, is also used to judge whether the simulation tool normally starts;
The Second processing module 43 installs the application if normally starting also particularly useful for the simulation tool On the simulation tool.
It should be understood that detection device used in application development process provided by the above embodiment is being carried out using opening When the test of hair process, only with the division progress of above-mentioned each program module for example, in practical application, can according to need and Above-mentioned processing distribution is completed by different program modules, i.e., the internal structure of device is divided into different program modules, with Complete all or part of processing described above.
Detection device used in the application development process of the present embodiment can be used for executing above-mentioned shown embodiment of the method Technical solution, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Fig. 5 is the structural schematic diagram of detection device embodiment used in application development process of the present invention, as shown in figure 5, Detection device 05 used in application development process provided in an embodiment of the present invention, comprising: interface 51, bus 52, memory 53, With processor 54, the interface 51, the memory 53 are connected with the processor 54 by the bus 52, the storage For storing computer program, the processor 54 reads the computer program and is used for device 53:
Tools chain is established, the tools chain is continuous integrating tool, automatic the build tool, simulation tool and automatic test The tools chain that framing tools are constituted after being sequentially connected;
After determining that the continuous integrating tool receives code, send the continuous integrating tool by the code To described automatic the build tool;
Described automatic the build tool is set to be mounted on the simulation tool according to the code building application, and by the application On;
It tests the automated test frame tool to the application on the simulation tool, obtains described answer Test result, and the test result of the application is sent to the continuous integrating tool.
Further, the processor 54 reads the computer program and is also used to:
Establish the connection of Version Yu the continuous integrating tool;
Make the Version that the code is sent to the continuous integrating tool.
Further, the processor 54 reads the computer program and is also used to:
Make the continuous integrating tool that the test result of the application is sent to the Version.
It further, include compilation tool, unit testing framing tools and code rule in described automatic the build tool When model checking tool,
The processor 54 reads the computer program and is specifically used for:
Apply the compilation tool according to the code building;
The processor 54 reads the computer program and is also used to:
So that the unit testing framing tools is carried out code unit test to the code, obtains code unit test knot Fruit;
So that the code specification checking tool is carried out code specification inspection to the code, obtains code specification inspection knot Fruit.
Further, the processor 54 reads the computer program and is also used to:
Make the unit testing framing tools that the code unit test result is sent to the continuous integrating tool, makes The code specification inspection result is sent to the continuous integrating tool by the code specification checking tool.
Further, the processor 54 reads the computer program and is also used to:
Make the continuous integrating tool that the code unit test result, the code specification inspection result are sent to institute State Version.
Further, the processor 54 reads the computer program and is also used to:
The continuous integrating tool is set to judge whether the status indicator of the project of the code is to start to identify;
The processor reads the computer program and is specifically used for:
If making the continuous integrating tool judge that the status indicator of the project of the code is described to start to identify, establish The tools chain.
Further, the processor 54 reads the computer program and is also used to:
Judge whether the simulation tool normally starts;
The processor 54 reads the computer program and is specifically used for:
If the simulation tool normally starts, the application is mounted on the simulation tool.
As shown in figure 5, the various components in detection device 05 used in application development process are coupled in by bus 52 Together;It is understood that bus 52, for realizing the connection communication between these components, bus 52 is in addition to including data/address bus, also Including power bus, control bus and status signal bus in addition, but for the sake of clear explanation, in Fig. 5 all by various buses It is designated as bus 52.
Wherein, interface 51 may include display, keyboard, mouse, trace ball, click wheel, key, button, touch-sensitive plate or Person's touch screen etc..
It is appreciated that memory 53 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), Programmable read only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory The storage of (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as Static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory);Description of the embodiment of the present invention is deposited Reservoir 53 is intended to include but is not limited to the memory of these and any other suitable type.
Memory 53 in the embodiment of the present invention is for storing various types of data to support to make in application development process The operation of detection device 05;The example of these data includes: for the detection device 05 used in application development process Any computer program of upper operation, such as operating system and application program;Wherein, operating system includes various system programs, Such as ccf layer, core library layer, driving layer etc., for realizing various basic businesses and the hardware based task of processing;Using Program may include various application programs, such as media player (Media Player), browser (Browser) etc., be used for Realize various applied business;Realize that the program of present invention method may include in the application.
The method that the embodiments of the present invention disclose can be applied in processor 54, or be realized by processor 54, locate Managing device 54 may be a kind of IC chip, the processing capacity with signal.During realization, each step of the above method It can be completed by the integrated logic circuit of the hardware in processor 54 or the instruction of software form;Above-mentioned processor 54 can Be general processor, digital signal processor (DSP, Digital Signal Processor) or other programmable patrol Collect device, discrete gate or transistor logic, discrete hardware components etc.;Processor 54 may be implemented or execute the present invention Disclosed each method, step and logic diagram in embodiment;General processor can be microprocessor or any conventional Processor etc.;The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processor execution Complete, or in decoding processor hardware and software module combine execute completion, software module can be located at storage medium In, which is located at memory 53, and processor 54 reads the information in memory 53, completes preceding method in conjunction with its hardware The step of.
In the exemplary embodiment, detection device 05 used in application development process can be special by one or more application With integrated circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general procedure Device, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other Electronic component is realized, for executing preceding method.
The present invention also provides a kind of computer readable storage mediums, the memory 53 for example including computer program, above-mentioned Computer program can the processor 54 in the detection device 05 as used in application development process execute, to complete preceding method institute State step;Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface The memories such as memory, CD or CD-ROM;Be also possible to include one of above-mentioned memory or any combination various equipment.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described Computer program is executed by processor, to perform the steps of
Tools chain is established, the tools chain is continuous integrating tool, automatic the build tool, simulation tool and automatic test The tools chain that framing tools are constituted after being sequentially connected;
After determining that the continuous integrating tool receives code, send the continuous integrating tool by the code To described automatic the build tool;
Described automatic the build tool is set to be mounted on the simulation tool according to the code building application, and by the application On;
It tests the automated test frame tool to the application on the simulation tool, obtains described answer Test result, and the test result of the application is sent to the continuous integrating tool.
Further, the computer program can also be executed by the processor, to perform the steps of
Establish the connection of Version Yu the continuous integrating tool;
Make the Version that the code is sent to the continuous integrating tool.
Further, the computer program can also be executed by the processor, to perform the steps of
Make the continuous integrating tool that the test result of the application is sent to the Version.
It further, include compilation tool, unit testing framing tools and code rule in described automatic the build tool When model checking tool, the computer program can be executed by the processor, to implement following steps:
Apply the compilation tool according to the code building;
Further, the computer program can also be executed by the processor, to perform the steps of
So that the unit testing framing tools is carried out code unit test to the code, obtains code unit test knot Fruit;
So that the code specification checking tool is carried out code specification inspection to the code, obtains code specification inspection knot Fruit.
Further, the computer program can also be executed by the processor, to perform the steps of
Make the unit testing framing tools that the code unit test result is sent to the continuous integrating tool, makes The code specification inspection result is sent to the continuous integrating tool by the code specification checking tool.
Further, the computer program can also be executed by the processor, to perform the steps of
Make the continuous integrating tool that the code unit test result, the code specification inspection result are sent to institute State Version.
Further, the computer program can also be executed by the processor, to perform the steps of
The continuous integrating tool is set to judge whether the status indicator of the project of the code is to start to identify;
The computer program can be executed by the processor, to implement following steps:
If making the continuous integrating tool judge that the status indicator of the project of the code is described to start to identify, establish The tools chain.
Further, the computer program can also be executed by the processor, to perform the steps of
Judge whether the simulation tool normally starts;
The computer program can be executed by the processor, to implement following steps:
If the simulation tool normally starts, the application is mounted on the simulation tool.
Computer readable storage medium provided by the invention can be used for executing the technical side of above-mentioned shown embodiment of the method Case, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (18)

1. detection method used in a kind of application development process, which is characterized in that the described method includes:
Tools chain is established, the tools chain is continuous integrating tool, automatic the build tool, simulation tool and automated test frame The tools chain that tool is constituted after being sequentially connected;
After determining that the continuous integrating tool receives code, make the continuous integrating tool that the code is sent to institute State automatic the build tool;
It is mounted on described automatic the build tool on the simulation tool according to the code building application, and by the application;
It tests the automated test frame tool to the application on the simulation tool, obtains the application Test result, and the test result of the application is sent to the continuous integrating tool.
2. the method according to claim 1, wherein determining that the continuous integrating tool receives code Afterwards, before making the continuous integrating tool that the code is sent to described automatic the build tool, the method also includes:
Establish the connection of Version Yu the continuous integrating tool;
Make the Version that the code is sent to the continuous integrating tool.
3. according to the method described in claim 2, it is characterized in that, being sent in the test result by the application described After continuous integrating tool, the method also includes:
Make the continuous integrating tool that the test result of the application is sent to the Version.
4. according to the method described in claim 2, it is characterized in that, include in described automatic the build tool compilation tool, When unit testing framing tools and code specification checking tool,
It is described to make described automatic the build tool according to the code building application, comprising:
Apply the compilation tool according to the code building;
It is described apply the compilation tool according to the code building after, the method also includes:
So that the unit testing framing tools is carried out code unit test to the code, obtains code unit test result;
So that the code specification checking tool is carried out code specification inspection to the code, obtains code specification inspection result.
5. according to the method described in claim 4, it is characterized in that, making the code specification checking tool to the generation described Code carries out code specification inspection, after obtaining code specification inspection result, the method also includes:
Make the unit testing framing tools that the code unit test result is sent to the continuous integrating tool, makes described The code specification inspection result is sent to the continuous integrating tool by code specification checking tool.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Make the continuous integrating tool that the code unit test result, the code specification inspection result are sent to the version This management tool.
7. method according to any one of claims 1 to 6, which is characterized in that it is described establish tools chain before, the side Method further include:
The continuous integrating tool is set to judge whether the status indicator of the project of the code is to start to identify;
It is described to establish tools chain, comprising:
If making the continuous integrating tool judge that the status indicator of the project of the code is described to start to identify, described in foundation Tools chain.
8. method according to any one of claims 1 to 6, which is characterized in that it is described the application is mounted on it is described Before on simulation tool, the method also includes:
Judge whether the simulation tool normally starts;
It is described that the application is mounted on the simulation tool, comprising:
If the simulation tool normally starts, the application is mounted on the simulation tool.
9. detection device used in a kind of application development process, which is characterized in that the equipment includes: interface, bus, storage Device, with processor, the interface, the memory are connected with the processor by the bus, and the memory is used for Computer program is stored, the processor reads the computer program and is used for:
Tools chain is established, the tools chain is continuous integrating tool, automatic the build tool, simulation tool and automated test frame The tools chain that tool is constituted after being sequentially connected;
After determining that the continuous integrating tool receives code, make the continuous integrating tool that the code is sent to institute State automatic the build tool;
It is mounted on described automatic the build tool on the simulation tool according to the code building application, and by the application;
It tests the automated test frame tool to the application on the simulation tool, obtains the application Test result, and the test result of the application is sent to the continuous integrating tool.
10. equipment according to claim 9, which is characterized in that the processor reads the computer program and is also used to:
Establish the connection of Version Yu the continuous integrating tool;
Make the Version that the code is sent to the continuous integrating tool.
11. equipment according to claim 10, which is characterized in that the processor reads the computer program and also uses In:
Make the continuous integrating tool that the test result of the application is sent to the Version.
12. equipment according to claim 10, which is characterized in that in described automatic the build tool include compiling work When tool, unit testing framing tools and code specification checking tool,
The processor reads the computer program and is specifically used for:
Apply the compilation tool according to the code building;
The processor reads the computer program and is also used to:
So that the unit testing framing tools is carried out code unit test to the code, obtains code unit test result;
So that the code specification checking tool is carried out code specification inspection to the code, obtains code specification inspection result.
13. equipment according to claim 12, which is characterized in that the processor reads the computer program and also uses In:
Make the unit testing framing tools that the code unit test result is sent to the continuous integrating tool, makes described The code specification inspection result is sent to the continuous integrating tool by code specification checking tool.
14. equipment according to claim 13, which is characterized in that the processor reads the computer program and also uses In:
Make the continuous integrating tool that the code unit test result, the code specification inspection result are sent to the version This management tool.
15. according to the described in any item equipment of claim 9 to 14, which is characterized in that the processor reads the computer Program is also used to:
The continuous integrating tool is set to judge whether the status indicator of the project of the code is to start to identify;
The processor reads the computer program and is specifically used for:
If making the continuous integrating tool judge that the status indicator of the project of the code is described to start to identify, described in foundation Tools chain.
16. according to the described in any item equipment of claim 9 to 14, which is characterized in that the processor reads the computer Program is also used to:
Judge whether the simulation tool normally starts;
The processor reads the computer program and is specifically used for:
If the simulation tool normally starts, the application is mounted on the simulation tool.
17. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program, the computer program are realized when being executed by processor in application development process as claimed in any one of claims 1 to 8 The step of detection method used.
18. detection device used in a kind of application development process, which is characterized in that described device includes:
Establish module, for establishing tools chain, the tools chain be continuous integrating tool, automatic the build tool, simulation tool and The tools chain that automated test frame tool is constituted after being sequentially connected;
First processing module, for making the continuous integrating tool after determining that the continuous integrating tool receives code The code is sent to described automatic the build tool;
Second processing module, for installing described automatic the build tool according to the code building application, and by the application On the simulation tool;
Third processing module, for surveying the automated test frame tool to the application on the simulation tool Examination, obtains the test result of the application, and the test result of the application is sent to the continuous integrating tool.
CN201710584094.5A 2017-07-18 2017-07-18 Detection method and equipment used in a kind of application development process Pending CN109426602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710584094.5A CN109426602A (en) 2017-07-18 2017-07-18 Detection method and equipment used in a kind of application development process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710584094.5A CN109426602A (en) 2017-07-18 2017-07-18 Detection method and equipment used in a kind of application development process

Publications (1)

Publication Number Publication Date
CN109426602A true CN109426602A (en) 2019-03-05

Family

ID=65497795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710584094.5A Pending CN109426602A (en) 2017-07-18 2017-07-18 Detection method and equipment used in a kind of application development process

Country Status (1)

Country Link
CN (1) CN109426602A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825427A (en) * 2019-10-12 2020-02-21 重庆金融资产交易所有限责任公司 Code management method, device, server and storage medium
CN111639036A (en) * 2020-06-08 2020-09-08 成都信息工程大学 Continuous integration test development method and system based on AI test
CN113032240A (en) * 2019-12-09 2021-06-25 中车时代电动汽车股份有限公司 Software test automation management system and method
CN113110824A (en) * 2021-03-31 2021-07-13 中汽研(天津)汽车工程研究院有限公司 Continuous integration and automatic test method for automobile electronic software
CN113703730A (en) * 2021-08-30 2021-11-26 平安普惠企业管理有限公司 Continuous integration method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012814A (en) * 2010-11-24 2011-04-13 中兴通讯股份有限公司 Construction method and system for software version
CN103336688A (en) * 2013-06-20 2013-10-02 中标软件有限公司 Software integrating method and system oriented to cloud computing software research and development process
CN105138386A (en) * 2015-08-26 2015-12-09 浪潮集团有限公司 Logic design verification continuous integration platform based on Jenkins and vManager
CN105446878A (en) * 2015-11-09 2016-03-30 上海爱数信息技术股份有限公司 Continuous program automated testing method
CN105550001A (en) * 2015-12-24 2016-05-04 厦门市美亚柏科信息股份有限公司 Distributed automatic construction method and system
CN106708509A (en) * 2016-11-28 2017-05-24 上海宝尊电子商务有限公司 Automatic software project development all-link configuration management system
US20170153969A1 (en) * 2015-12-01 2017-06-01 Tata Consultancy Services Limited System and method for executing integration tests in multiuser environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012814A (en) * 2010-11-24 2011-04-13 中兴通讯股份有限公司 Construction method and system for software version
CN103336688A (en) * 2013-06-20 2013-10-02 中标软件有限公司 Software integrating method and system oriented to cloud computing software research and development process
CN105138386A (en) * 2015-08-26 2015-12-09 浪潮集团有限公司 Logic design verification continuous integration platform based on Jenkins and vManager
CN105446878A (en) * 2015-11-09 2016-03-30 上海爱数信息技术股份有限公司 Continuous program automated testing method
US20170153969A1 (en) * 2015-12-01 2017-06-01 Tata Consultancy Services Limited System and method for executing integration tests in multiuser environment
CN105550001A (en) * 2015-12-24 2016-05-04 厦门市美亚柏科信息股份有限公司 Distributed automatic construction method and system
CN106708509A (en) * 2016-11-28 2017-05-24 上海宝尊电子商务有限公司 Automatic software project development all-link configuration management system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
易禹,廖年冬: "《软件测试简明教程》", 31 March 2012, 武汉大学出版社 *
郑炜: "《软件测试》", 31 August 2011, 西北工业大学出版社 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825427A (en) * 2019-10-12 2020-02-21 重庆金融资产交易所有限责任公司 Code management method, device, server and storage medium
CN110825427B (en) * 2019-10-12 2024-01-26 天航长鹰(江苏)科技有限公司 Code management method, device, server and storage medium
CN113032240A (en) * 2019-12-09 2021-06-25 中车时代电动汽车股份有限公司 Software test automation management system and method
CN111639036A (en) * 2020-06-08 2020-09-08 成都信息工程大学 Continuous integration test development method and system based on AI test
CN113110824A (en) * 2021-03-31 2021-07-13 中汽研(天津)汽车工程研究院有限公司 Continuous integration and automatic test method for automobile electronic software
CN113110824B (en) * 2021-03-31 2022-05-06 中汽研(天津)汽车工程研究院有限公司 Continuous integration and automatic test method for automobile electronic software
CN113703730A (en) * 2021-08-30 2021-11-26 平安普惠企业管理有限公司 Continuous integration method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US11281570B2 (en) Software testing method, system, apparatus, device medium, and computer program product
CN109426602A (en) Detection method and equipment used in a kind of application development process
CN105302716B (en) Test method, device under the development mode of interflow
Jensen et al. Colored Petri nets: a graphical language for formal modeling and validation of concurrent systems
US10310968B2 (en) Developing software project plans based on developer sensitivity ratings detected from monitoring developer error patterns
US7895565B1 (en) Integrated system and method for validating the functionality and performance of software applications
US8694967B2 (en) User interface inventory
US8645326B2 (en) System to plan, execute, store and query automation tests
US7512933B1 (en) Method and system for associating logs and traces to test cases
CN105955749A (en) Continuous software project integration method and device
Wang et al. Automated test case generation for the Paxos single-decree protocol using a Coloured Petri Net model
CN109933510A (en) Method, apparatus, electronic equipment and the storage medium of interface management
CN102144221B (en) Compact framework for automated testing
Zeng et al. Graphical model debugger framework for embedded systems
Kouroshfar et al. Process patterns for component-based software development
Zheng et al. Model-based software component testing: A uml-based approach
Hill et al. Model-driven engineering for development-time QoS validation of component-based software systems
US9612870B2 (en) Inversion of control for executable extensions in a run-time environment
Pusuluri Software testing Concepts and tools
Admanski et al. Autotest-testing the untestable
Haschemi et al. A generic approach to run mutation analysis
Li et al. Quality assurance for component-based systems in embedded environments
CN114928536B (en) Automatic network changing method and device
Piel et al. Built-in data-flow integration testing in large-scale component-based systems
Somé Enhancement of a use cases based requirements engineering approach with scenarios

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190305

RJ01 Rejection of invention patent application after publication