CN102591776A - System for automatically generating codes - Google Patents
System for automatically generating codes Download PDFInfo
- Publication number
- CN102591776A CN102591776A CN2011104530554A CN201110453055A CN102591776A CN 102591776 A CN102591776 A CN 102591776A CN 2011104530554 A CN2011104530554 A CN 2011104530554A CN 201110453055 A CN201110453055 A CN 201110453055A CN 102591776 A CN102591776 A CN 102591776A
- Authority
- CN
- China
- Prior art keywords
- code
- generation module
- code generation
- module
- software
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a system for automatically generating codes, comprising a function test code generation module, a special code generation module, a key code generation module, a final code generation module, a check module and a storage module. Through the method, the system can automatically generate software test codes and improve the test efficiency and the automatic degree of software.
Description
Technical field
The present invention relates to the software code field, particularly relate to a kind of system of automatic generating code.
Background technology
In the society of scientific and technical develop rapidly now, software is being brought into play the effect that becomes more and more important in different social sectors, and the generation that the test of software performance is accompanied by software produces, and important effect is being brought into play in the reliable use of software.The purpose of software test is in order to guarantee the final mass of software product, in the process of software development, software product is carried out quality control.In general software test should in strict accordance with the software test flow process, be formulated test plan, testing scheme, test specification by independently the product testing center is responsible, implements test, test record is analyzed, and write test report according to the regression test situation.Test is wrong for prover, and can not guarantee that program does not have mistake.
Software test is exactly a process of under in check condition, system or application program being operated and estimate operating result, and so-called controlled condition should comprise normal condition and non-normal condition.Should intentionally go to impel wrong generation in the software test procedure, just thing occurs when should not occurring or when should occurring, does not occur.In essence, software test is " detection ", in " detection ", finds the defect of software.Software test is through the whole cycle of software definition and exploitation, the Specification of software, and structural design and program coding all belong to the object of software test.Existing software test code generation system, the test code of generation is comprehensive inadequately, and efficient is low.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of system of automatic generating code, can address the deficiencies of the prior art, can the automatic generating software test code, and efficient is high.
For solving the problems of the technologies described above; The technical scheme that the present invention adopts is: the system that a kind of automatic generating code is provided; Comprise: functional test code generation module, particular code generation module, emphasis code generation module, final code generation module, inspection module and memory module, wherein
The functional test code generation module, a plurality of functional modules to software under testing produce the functional test code respectively;
The particular code generation module is to the specific application area formation characteristic test code of software under testing, the characteristic performance of testing software in this application;
The emphasis code generation module, to the high-frequency emphasis application generation stress test code of software under testing, testing software is to the performance of high-frequency emphasis application;
Final code generation module is of coupled connections with functional test code generation module, particular code generation module, emphasis code generation module respectively, generates final code;
The inspection module is used to check whether final code exists grammar mistake;
Memory module is used to store final code, is convenient to test.
In preferred embodiment of the present invention, be provided with the redundant code cancellation module between said functional test code generation module and the final code generation module, be used for eliminating the redundancy section of the functional test code that a plurality of functional module produces.
In preferred embodiment of the present invention, said inspection module is used to check whether final code exists grammar mistake, if there is then output alarm message.
The invention has the beneficial effects as follows: the system of the automatic generating code that the present invention discloses, can the automatic generating software test code, improved the efficient and the automaticity of software test.
Description of drawings
Fig. 1 is the structural representation of a preferred embodiment of the system of the automatic generating code of the present invention;
Fig. 2 is the structural representation of another preferred embodiment of the system of the automatic generating code of the present invention.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment of the present invention is set forth in detail, thereby protection scope of the present invention is made more explicit defining so that advantage of the present invention and characteristic can be easier to it will be appreciated by those skilled in the art that.
See also Fig. 1 and Fig. 2, the embodiment of the invention comprises:
A kind of system of automatic generating code comprises: functional test code generation module, particular code generation module, emphasis code generation module, final code generation module, inspection module and memory module, wherein
The functional test code generation module, a plurality of functional modules to software under testing produce the functional test code respectively;
The particular code generation module is to the specific application area formation characteristic test code of software under testing, the characteristic performance of testing software in this application;
The emphasis code generation module, to the high-frequency emphasis application generation stress test code of software under testing, testing software is to the performance of high-frequency emphasis application;
Final code generation module is of coupled connections with functional test code generation module, particular code generation module, emphasis code generation module respectively, generates final code;
The inspection module is used to check whether final code exists grammar mistake, if there is then output alarm message.
Memory module is used to store final code, is convenient to test.
Be provided with the redundant code cancellation module between said functional test code generation module and the final code generation module, be used for eliminating the redundancy section of the functional test code that a plurality of functional module produces, improve quality and efficient that code generates.
The system of the automatic generating code that the present invention discloses can the automatic generating software test code, has improved the efficient and the automaticity of software test.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (3)
1. the system of an automatic generating code is characterized in that, comprising: functional test code generation module, particular code generation module, emphasis code generation module, final code generation module, inspection module and memory module, wherein:
The functional test code generation module, a plurality of functional modules to software under testing produce the functional test code respectively;
The particular code generation module is to the specific application area formation characteristic test code of software under testing, the characteristic performance of testing software in this application;
The emphasis code generation module, to the high-frequency emphasis application generation stress test code of software under testing, testing software is to the performance of high-frequency emphasis application;
Final code generation module is of coupled connections with functional test code generation module, particular code generation module, emphasis code generation module respectively, generates final code;
The inspection module is used to check whether final code exists grammar mistake;
Memory module is used to store final code, is convenient to test.
2. the system of automatic generating code according to claim 1; It is characterized in that; Be provided with the redundant code cancellation module between said functional test code generation module and the final code generation module, be used for eliminating the redundancy section of the functional test code that a plurality of functional module produces.
3. the system of automatic generating code according to claim 1 is characterized in that, said inspection module is used to check whether final code exists grammar mistake, if there is then output alarm message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104530554A CN102591776A (en) | 2011-12-30 | 2011-12-30 | System for automatically generating codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104530554A CN102591776A (en) | 2011-12-30 | 2011-12-30 | System for automatically generating codes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102591776A true CN102591776A (en) | 2012-07-18 |
Family
ID=46480470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011104530554A Pending CN102591776A (en) | 2011-12-30 | 2011-12-30 | System for automatically generating codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102591776A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6703788B1 (en) * | 2002-07-12 | 2004-03-09 | John F. Miller | Wireless lighting system |
US20070266378A1 (en) * | 2006-05-12 | 2007-11-15 | Hitachi Software Engineering Co., Ltd. | Source code generation method, apparatus, and program |
CN101261783A (en) * | 2008-04-11 | 2008-09-10 | 浙江工业大学 | A 'computer composition principle' simulation experimental system |
CN101571798A (en) * | 2008-04-29 | 2009-11-04 | 环达电脑(上海)有限公司 | Method for generating and using automatic test script |
CN101976220A (en) * | 2010-09-27 | 2011-02-16 | 北京神州泰岳软件股份有限公司 | Unit test system |
CN101996069A (en) * | 2009-08-13 | 2011-03-30 | 上海杉达学院 | Test code generating system for software test |
CN102122247A (en) * | 2011-03-17 | 2011-07-13 | 深圳市同洲软件有限公司 | Automatic code generating system and method |
-
2011
- 2011-12-30 CN CN2011104530554A patent/CN102591776A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6703788B1 (en) * | 2002-07-12 | 2004-03-09 | John F. Miller | Wireless lighting system |
US20070266378A1 (en) * | 2006-05-12 | 2007-11-15 | Hitachi Software Engineering Co., Ltd. | Source code generation method, apparatus, and program |
CN101261783A (en) * | 2008-04-11 | 2008-09-10 | 浙江工业大学 | A 'computer composition principle' simulation experimental system |
CN101571798A (en) * | 2008-04-29 | 2009-11-04 | 环达电脑(上海)有限公司 | Method for generating and using automatic test script |
CN101996069A (en) * | 2009-08-13 | 2011-03-30 | 上海杉达学院 | Test code generating system for software test |
CN101976220A (en) * | 2010-09-27 | 2011-02-16 | 北京神州泰岳软件股份有限公司 | Unit test system |
CN102122247A (en) * | 2011-03-17 | 2011-07-13 | 深圳市同洲软件有限公司 | Automatic code generating system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104408264B (en) | It is a kind of that system and method is verified based on the Embedded Storage Controller asserted | |
CN104063325A (en) | Automatic generation device and method for test cases of embedded software | |
CN103856372B (en) | A kind of monitoring method and monitoring device of digital transformer substation GOOSE message | |
CN104298595A (en) | Automatic testing method and testing system | |
CN103150228B (en) | Synthesizable pseudorandom verification method and device for high-speed buffer memory | |
CN107562883A (en) | Data synchronization method and system | |
CN105302573A (en) | Method for building function point matching setting automation platform for function verification platform | |
CN107168868B (en) | Software change defect prediction method based on sampling and ensemble learning | |
CN103377123B (en) | A kind of web page code automated testing method and device | |
Wang et al. | Lifecycle energy consumption and greenhouse gas emissions from corncob ethanol in China | |
CN102662808B (en) | Method and device for realizing hardware fault detection on PCIE (peripheral component interconnect express) | |
CN105302729A (en) | Storage system testing method based on database application | |
CN103208314A (en) | Internal memory test method of embedded system and embedded system | |
CN103645963A (en) | Storage system and data consistency verification method thereof | |
CN105609141A (en) | Apparatus and method for automatically correcting access data of storage apparatus | |
CN102880497B (en) | Complier and method for reusing and optimizing software management memory | |
CN103617119B (en) | Based on the mutual regression test case selection method covering of statement | |
WO2008005637A3 (en) | Hybrid assessment tool, and systems and methods of quantifying risk | |
CN115237418A (en) | Network mode configuration system and method for multi-mode network element equipment | |
CN102543208A (en) | Method and device for quickly determining distribution of flash errors | |
CN102591776A (en) | System for automatically generating codes | |
CN102495778A (en) | System and method for testing single-packet regular matching logic | |
CN102915769B (en) | Implementation and optimization method for processor EDAC (error detection and correction) circuit | |
CN102419733A (en) | System for testing comprehensive performance of software | |
CN204101658U (en) | A kind of platform district collector intelligent regulator equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120718 |