CN101135992A - Resource file testing system and testing method - Google Patents

Resource file testing system and testing method Download PDF

Info

Publication number
CN101135992A
CN101135992A CNA2007101615889A CN200710161588A CN101135992A CN 101135992 A CN101135992 A CN 101135992A CN A2007101615889 A CNA2007101615889 A CN A2007101615889A CN 200710161588 A CN200710161588 A CN 200710161588A CN 101135992 A CN101135992 A CN 101135992A
Authority
CN
China
Prior art keywords
incomplete
tested files
under
module
tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007101615889A
Other languages
Chinese (zh)
Other versions
CN100568194C (en
Inventor
宋燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2007101615889A priority Critical patent/CN100568194C/en
Publication of CN101135992A publication Critical patent/CN101135992A/en
Application granted granted Critical
Publication of CN100568194C publication Critical patent/CN100568194C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The system comprises: a tested file processing mule used for searching the appointed catalog and the tested files under its sub-catalog and getting the search result; a display module used for displaying the holonomic or non-holonomic tested files and the holonomic or non-holonomic items in the tested file under the control of the main control module, and directly editing the non-holonomic item; a guiding-out module used for guiding out the search result and prompting users to make next process under the control of main control module; a test estimation module used for generating and displaying the test report according to the search result under the control of main control module; and a main control module used for controlling the modules above and making scheduling and sequential control.

Description

Resource file testing system and method for testing
Technical field
The present invention relates to the software test field, relate in particular to a kind of resource file testing system and method for testing.
Background technology
For the software product that makes us can export to other country, need in software application system, support other each national language.Promptly require our software systems can satisfy internationalization.Our present transmission network management software systems for example: Network Element Layer network management system (EMS), network layer network management system (NMS).In order to realize this needs, in each application module, added the internationalized resources file.
According to the description of front, resource file is tested this and is also become extremely important.Our present method of testing is after network management system is shaped, when each application module of test, manual system change Chinese or English into, Japanese shows.Start-up system verifies whether the internationalization file is perfect then.
Make in this way and can bring more shortcoming:
(1) is provided with by manual, revises the various language that are configured to support of network management system; Restarting network management system then tests.In test process, the means of testing unanimity of various language comprises that webmaster installing and using under each language system, interface are to the support of each language and the test of help document etc.Increase the redundance of test, and wasted manpower.
(2) developer is because be familiar with inadequately system, so except the mode of checking the internationalized resources file is tested oneself, almost do not have the test oneself internationalization problem of module of other method.The feasible exploitation inefficiency of testing oneself.For the tester, use present method of testing, needs and application module combine; Promptly only after the application module perfect in shape and function, could start the network management system test of internationalizing.The fault that does not satisfy the industry requirement exposes, shortens the requirement of R﹠D cycle early.
(3) when solving international fault, need the developer to navigate to concrete module, revise file wherein then., lose time to solving fault from fault location.
(4) make the difficult in this way automatic test that launches.
With regard to the CN200610111952 patent, do not solve the test problem of internationalization function.The present invention has remedied the space of existing software systems resource file test.
Summary of the invention
One or more problems in view of the above the present invention proposes a kind of resource file testing system and method.Come out by Context resolution, be presented on the interface in close friend's mode with the internationalized resources file; And support forward direction expansion, backward compatibility; Error correction is provided; Support to produce automatically test report; Can save the test job amount; More early find fault, and can shorten the R﹠D cycle.
Resource file testing system according to the present invention comprises: the tested files processing module is used for the tested files under search assigned catalogue and sub-directory thereof under the control of main control module and obtains Search Results; Represent module, be used under the control of main control module Search Results being showed and demonstrating under complete tested files and incomplete tested files and the incomplete tested files incomplete respectively, and allow incomplete is directly edited; Derive module, be used under the control of main control module, deriving Search Results and pointing out the user to be for further processing; The testing evaluation module is used for generating automatically and the demonstration test report according to Search Results under the control of main control module; And main control module, be used for the tested files processing module, represent module, derive module, and the testing evaluation module dispatch and sequential control.
Wherein, the tested files processing module comprises: search module is used to search for the tested files under assigned catalogue and the sub-directory thereof and obtains Search Results; And filtering module, be used under the situation of select filtering, filter out incomplete under incomplete tested files in the Search Results and the incomplete tested files.
Wherein, representing module supports forward compatibility function and back to expanded function.
Wherein, test report comprises following at least a information: the number of the sum of tested files, the number of incomplete tested files, incomplete tested files accounts for the ratio of the sum of tested files, reaches incomplete information under the incomplete tested files.
Wherein, international function test system is used for software application system.
Resource file method of testing according to the present invention may further comprise the steps: step S202, and the tested files under search assigned catalogue and the sub-directory thereof is also obtained Search Results; Step S204 shows and demonstrates incomplete under complete tested files and incomplete tested files and the incomplete tested files respectively Search Results, and allows incomplete is directly edited; Step S206 derives Search Results and points out the user to be for further processing; And step S208, generate automatically and the demonstration test report according to Search Results.
Wherein, test report comprises following at least a information: the number of the sum of tested files, the number of incomplete tested files, incomplete tested files accounts for the ratio of the sum of tested files, reaches incomplete information under the incomplete tested files.
Wherein, further comprising the steps of in step S202: whether step a, select to filter in obtaining the process of Search Results; And step b, under the situation of select filtering, the tested files processing module filters out incomplete under incomplete tested files in the Search Results and the incomplete tested files, Search Results is not filtered under the situation of not filtering selecting.
Wherein, international function test method is used for software application system.
By system and method for the present invention, provide a kind of special instrument to come testing internationalized function; The function that will internationalize is independent, tests separately, has reduced the redundant of test and has saved manpower.In test process, be no longer dependent on the existence of software systems, will be converted into test to the test of software systems to file.Means of testing is abundanter, and discovery fault more early, effectively shortens the R﹠D cycle.Aspect fault location and solution fault, can directly carry out edit-modify to execution result; Method, convenient, quick.And this instrument directly can be joined in the smoke test and carry out, satisfy the requirement of automatic test.And support forward compatibility, back to expansion.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram according to resource file testing system of the present invention;
Fig. 2 is the process flow diagram according to resource file method of testing of the present invention; And
Fig. 3 is the process flow diagram according to the resource file method of testing of the embodiment of the invention.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
The present invention peels off out separately and tests with a kind of mode of the instrument function that will internationalize; Do not need to start software systems in the test process, and do not rely on the logical process of each module in the software systems; Test to software systems is converted into test to file.
Fig. 1 is the block diagram according to resource file testing system of the present invention.As described in Figure 1, resource file testing system according to the present invention comprises following several module:
Tested files processing module 102 is responsible for the tested files under search assigned catalogue and the sub-directory, and is got access to Search Results.In the process of resolving, provide filtering function for the integrality of each tested files; Under the situation of selecting filtration, can complete tested files be filtered out, do not make subsequent treatment, only consider incomplete file, under the situation of not selecting to filter, do not filter.
Represent module 104, be responsible for the execution result of tested files processing module is showed in close friend's mode, and tell under whether complete file and the file whether complete every by certain formula area; Support forward compatibility, back to expansion, and error correction is provided.
Derive module 106, the execution result of being responsible for being correlated with derives with the understandable form of readability, and points out the related personnel to be for further processing in close friend's mode.
Testing evaluation module 108 should produce and show test report after the end of test (EOT) automatically.
Main control module 110 is main control modules of whole batch testing framework, is responsible for the tested files processing module, represents module, derives module, and the scheduling and the sequential control of testing evaluation module.
Wherein, the tested files processing module comprises: search module is used to search for the tested files under assigned catalogue and the sub-directory thereof and obtains Search Results; And filtering module, be used under the situation of select filtering, filter out incomplete under incomplete tested files in the Search Results and the incomplete tested files.
Wherein, test report comprises following at least a information: the number of the sum of tested files, the number of incomplete tested files, incomplete tested files accounts for the ratio of the sum of tested files, reaches incomplete information under the incomplete tested files.
Wherein, international function test system is used for software application system.
Fig. 2 is the process flow diagram according to resource file method of testing of the present invention.As shown in Figure 2, this method may further comprise the steps:
Step S202 by main control module calls tested files processing module, reads the tested files under assigned catalogue and the sub-directory, then each document analysis is come out.In the process of resolving, provide filtering function, can select according to actual needs whether to filter.
Step S204 is presented in the result of tested files processing module on the interface by representing module; Handle with brightness or differentiated display mode for incomplete item under incomplete tested files and this document.Provide error correction for incomplete item, promptly can directly edit, to reach the effect of revising fault.
Step S206 can derive the execution result that the tester is concerned about come with certain form.
Step S208, the result that testing evaluation will be tested analyzes, and especially gathers at incomplete item under the incomplete tested files among the step S204 and this document; Generate test report.Wherein, test report comprises following at least a information: the number of the sum of tested files, the number of incomplete tested files, incomplete tested files accounts for the ratio of the sum of tested files, reaches incomplete information under the incomplete tested files.
Wherein, further comprising the steps of in step S202: whether step a, select to filter in obtaining the process of Search Results; And step b, under the situation of select filtering, the tested files processing module filters out incomplete under incomplete tested files in the Search Results and the incomplete tested files, Search Results is not filtered under the situation of not filtering selecting.
Fig. 3 is the process flow diagram of resource file method of testing according to an embodiment of the invention.
Below choosing software systems is that the webmastering software system is further introduced step of the present invention, but is not used in the scope of the present invention that limits.Wherein, in the following step, after each step is complete, then carry out next step; Arbitrary step failure provides the failure prompting and forwards step S302-4 to and handles; The integrality here is meant that each key has corresponding various language support in the tested files, when certain key lacks the support of certain language, then is imperfect.
As shown in Figure 3, this method may further comprise the steps:
Step S302, preliminary work.Have and may further comprise the steps:
Step S302-2 moves this instrument, ejects interface program.
Step S302-4, behind the selection assigned catalogue, instrument is searched tested files all under this catalogue and the sub-directory automatically, and Search Results is parsed.
Whether step S302-6 can select to filter as required; Filtration is meant complete tested files is filtered out, and does not carry out subsequent treatment, only is concerned about incomplete tested files.(give an example: only support Chinese, English in certain tested files at present; Wherein have a key value to be AlarmViewModuleName, the Chinese of its correspondence is alarm management, and corresponding English is Alarm Management; If Chinese, the English supported all exist, represent that then this is complete.If all under tested files all are complete, then this file also is complete.If) do not filter, so then be that the tested files of handling is completely shown on the interface, and support all follow-up processing.
Step S304, displaying interface.Have and may further comprise the steps:
Result after the preliminary work end is represented on the interface.Handle with brightness or differentiated display mode for incomplete item under incomplete tested files and this document.
Support forward direction expansion, backward compatibility.This language that is meant that representing of interface be to support according to tested files represents.If the current support bilingual of file uses this instrument to represent.Variation in the later stage along with demand, this tested files need support four, five kind of language.When this instrument of use, do not need to revise, still can use.
Correction process: every under each tested files, editting function is supported at the interface.And the result after will editing directly is saved in the source file.Make things convenient for the developer to solve fault.
Step S306 derives execution result.Have and may further comprise the steps:
This instrument of use can be derived corresponding execution result with the form of readability as required.
The execution result of deriving can be handed to the responsible person concerned is for further processing.
Step S308 generates test report.Have and may further comprise the steps:
After the end of test (EOT), the testing evaluation module produces test report automatically according to the report manner that pre-sets.Test report should comprise: total which file to be measured, which incomplete file is arranged, and account for to such an extent that how much number percent is; For incomplete file, also need to pay close attention to wherein imperfect, provide highlighted or differentiated screen display to show difference; To reach the effect of testing evaluation.
According to the personnel that are provided with, this instrument sends to the related personnel automatically to test report.
Simple to operate flexibly, the friendly interface of the method for testing internationalized function provided by the invention, easy care, favorable expandability, testing efficiency height, easy fault location and solve fault have solved the drawback of existing testing internationalized function in a word.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a resource file testing system is characterized in that, described system comprises:
The tested files processing module is used for the tested files under search assigned catalogue and sub-directory thereof under the control of main control module and obtains Search Results;
Represent module, be used under the control of described main control module described Search Results being showed and demonstrating under complete tested files and incomplete tested files and the described incomplete tested files incomplete respectively, and allow described incomplete is directly edited;
Derive module, be used under the control of described main control module, deriving described Search Results and pointing out the user to be for further processing;
The testing evaluation module is used for generating automatically and the demonstration test report according to described Search Results under the control of described main control module; And
Main control module, be used for to described tested files processing module, described represent module, described derivation module, and described testing evaluation module dispatch and sequential control.
2. resource file testing system according to claim 1 is characterized in that, described tested files processing module comprises:
Search module is used to search for the described tested files under described assigned catalogue and the sub-directory thereof and obtains described Search Results; And
Filtering module is used under the situation of select filtering, and filters out described incomplete under described incomplete tested files in the described Search Results and the described incomplete tested files.
3. resource file testing system according to claim 1 is characterized in that, the described module that represents supports forward compatibility function and back to expanded function.
4. resource file testing system according to claim 1, it is characterized in that described test report comprises following at least a information: the number of the sum of described tested files, the number of described incomplete tested files, described incomplete tested files accounts for the ratio of the sum of described tested files, reaches described incomplete information under the described incomplete tested files.
5. resource file testing system according to claim 1 is characterized in that described system is used for software application system.
6. a resource file method of testing is characterized in that, said method comprising the steps of:
Step S202, the tested files under search assigned catalogue and the sub-directory thereof is also obtained Search Results;
Step S204 shows and demonstrates incomplete under complete tested files and incomplete tested files and the described incomplete tested files respectively described Search Results, and allows described incomplete is directly edited;
Step S206 derives described Search Results and points out the user to be for further processing; And
Step S208 generates and the demonstration test report automatically according to described Search Results.
7. resource file method of testing according to claim 6, it is characterized in that described test report comprises following at least a information: the number of the sum of described tested files, the number of described incomplete tested files, described incomplete tested files accounts for the ratio of the sum of described tested files, reaches described incomplete information under the described incomplete tested files.
8. resource file method of testing according to claim 6 is characterized in that, and is further comprising the steps of in described step S202:
Whether step a selects to filter in the described process of obtaining Search Results; And
Step b, selecting under the situation of filtering, described tested files processing module filters out described incomplete under described incomplete tested files in the described Search Results and the described incomplete tested files, described Search Results is not filtered under the situation of not filtering selecting.
9. resource file method of testing according to claim 6 is characterized in that described method is used for software application system.
CNB2007101615889A 2007-09-29 2007-09-29 Resource file testing system and method for testing Expired - Fee Related CN100568194C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101615889A CN100568194C (en) 2007-09-29 2007-09-29 Resource file testing system and method for testing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101615889A CN100568194C (en) 2007-09-29 2007-09-29 Resource file testing system and method for testing

Publications (2)

Publication Number Publication Date
CN101135992A true CN101135992A (en) 2008-03-05
CN100568194C CN100568194C (en) 2009-12-09

Family

ID=39160099

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101615889A Expired - Fee Related CN100568194C (en) 2007-09-29 2007-09-29 Resource file testing system and method for testing

Country Status (1)

Country Link
CN (1) CN100568194C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662826A (en) * 2012-03-02 2012-09-12 百度在线网络技术(北京)有限公司 Test guiding method and system and test proxy server
CN109684525A (en) * 2018-12-20 2019-04-26 Oppo(重庆)智能科技有限公司 Document display method, device, storage medium and test equipment
CN110232164A (en) * 2019-04-23 2019-09-13 北京旷视科技有限公司 Internationalize the method, apparatus and computer storage medium handled

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662826A (en) * 2012-03-02 2012-09-12 百度在线网络技术(北京)有限公司 Test guiding method and system and test proxy server
CN102662826B (en) * 2012-03-02 2016-01-20 百度在线网络技术(北京)有限公司 Test bootstrap technique, system and test agent server
CN109684525A (en) * 2018-12-20 2019-04-26 Oppo(重庆)智能科技有限公司 Document display method, device, storage medium and test equipment
CN109684525B (en) * 2018-12-20 2021-03-02 Oppo(重庆)智能科技有限公司 Document display method and device, storage medium and test equipment
CN110232164A (en) * 2019-04-23 2019-09-13 北京旷视科技有限公司 Internationalize the method, apparatus and computer storage medium handled

Also Published As

Publication number Publication date
CN100568194C (en) 2009-12-09

Similar Documents

Publication Publication Date Title
CN108491205A (en) A kind of front end web development methods and system based on component tree
CN104679488A (en) Flow path customized development platform and method
EP1739512B1 (en) Programmable logic controller peripheral device and program creation method thereof
CN102043753B (en) Device information setting apparatus and device information setting method
CN109165169B (en) Branch management method and system for testing
JPWO2008038469A1 (en) Trouble countermeasure support system for mobile vehicles
CN105224396A (en) A kind of business data processing method and device
KR20020035760A (en) System and method for working management
CN104375934A (en) Method for testing reliability of Android mobile phone software
JP2007304660A (en) Command execution result recording system and command execution result recording method
CN100568194C (en) Resource file testing system and method for testing
CN103544298A (en) Log analysis method and analysis device for component
CN115904352A (en) Process arrangement method, device, storage medium and business process execution method
CN103109289A (en) Web-based script language editing method, system and web client
JP5508872B2 (en) Manufacturing procedure information creation system and manufacturing procedure information creation program
CN114647735A (en) Relation graph display method, medium and display device
JP4656336B2 (en) PLC network system development support device
JPH10105540A (en) Working procedure managing system
CN104484156A (en) Editing method for multilingual formula, editing system for multilingual formula and editor for multilingual formula
CN101217332A (en) Alarming test method and test control platform of synchronous digital system device
CN113391794A (en) System and method for developing collaboration service
JP2005085182A (en) Test support system
CN100442729C (en) Configuration method of tested system in conformance test of network protocol
CN109408392A (en) Software System Integrated Testing method based on continuous integrating technology
CN111158679A (en) Platform front end framework solution based on VueJS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091209

Termination date: 20190929

CF01 Termination of patent right due to non-payment of annual fee