CN105260300B - Service test method based on accounting standard universal classification standard application platform - Google Patents

Service test method based on accounting standard universal classification standard application platform Download PDF

Info

Publication number
CN105260300B
CN105260300B CN201510615864.9A CN201510615864A CN105260300B CN 105260300 B CN105260300 B CN 105260300B CN 201510615864 A CN201510615864 A CN 201510615864A CN 105260300 B CN105260300 B CN 105260300B
Authority
CN
China
Prior art keywords
standard
function
test
module
universal
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.)
Active
Application number
CN201510615864.9A
Other languages
Chinese (zh)
Other versions
CN105260300A (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201510615864.9A priority Critical patent/CN105260300B/en
Publication of CN105260300A publication Critical patent/CN105260300A/en
Application granted granted Critical
Publication of CN105260300B publication Critical patent/CN105260300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to software testing technologies, it is therefore an objective to which to provide a kind of can improving coverage rate, testing efficiency and accurate testing degree comprehensively, meet the test needs of CAS application platforms, and reduce the service test method based on CAS application platforms of testing cost.The present invention provides a kind of service test method based on accounting standard universal classification standard application platform, and this method comprises the following steps.First, software systems to be tested are subjected to module division according to function;Secondly, each function module after division is split becomes the functional test point of different levels, and is layered according to syntagmatic;Then, generation test use cases are covered by constructing to the functional test point after layering so that each virtual value of any pair of input parameter of the functional test point of each level is at least covered by a test case;Finally, functional test is carried out to its corresponding functional test point using test case.The present invention is suitable for the software test of CAS application platforms.

Description

Service test method based on accounting standard universal classification standard application platform
Technical field
It is more particularly to a kind of based on accounting standard universal classification standard application platform the present invention relates to software testing technology Service test method.
Background technology
XBRL (Extensible Business Reporting Language) is based on internet, cross-platform operation, worked out dedicated for financial report, The computer language for disclosing and using.Based on XBRL criteria for classification technologies, using Ministry of Finance's accounting standard universal classification standard (with Lower abbreviation CAS) establish the operation flow of financial report process.When extending criteria for classification, extensive work is concentrated on to wealth for enterprise It is engaged in the combing of report element, the purpose for combing element is corresponded to the subject of financial statement on the element of CAS criteria for classifications, It determines that each subject of financial statement whether there is in CAS and how quote or whether need to create, and passes through accounting people Member's specialty analysis judges, with reference to the report modeling pattern of CAS, financial statement is modeled.XBRL is according to disclosure of financial information By financial report content resolution into different data elements, data element is assigned unique number further according to information technology rule for rule According to label, so as to form standard convention.Based on this language, at the standardization to Network Financial Report information Reason, can develop report more advanced than prevailing network financial report, cannot can automatically read Network Financial Report Information be converted to a kind of information that can be read automatically, information user is greatly facilitated to be needed to the batch of information and batch It utilizes.
Mainly based on dynamically testing, dynamic test refers to examine software by runs software method for testing software at present Dynamic behaviour and operation result correctness.According to dynamic test stage residing in software development process and effect, move State test can be divided into the following steps:
1st, unit testing, unit testing are the tests of most micro scale;To test some function or code block.Typically by Programmer rather than test man do, because it needs to know internal processes design and the detail knowledge of coding.This work is not allowed It easily carries out, unless there are one design good architecture for application system;It it may also be desirable to exploitation test driver module or survey Try tackling.
2nd, integration testing, integration testing refer to the joint test of all parts of an application system, to determine their energy No work together together does not conflict.Component can be code block, independent application, the client on network or server Hold program.Such test is especially related with client server and distributed system.Before general integration testing, elder generation is needed Complete unit testing.
3rd, system testing, system testing are the black box class testings based on system integrated demand specification, should cover system institute There is united component.System testing is the test carried out for entire product systems, it is therefore an objective to which whether verification system, which meets, needs The definition of specification is asked, is found out and requirement specification is inconsistent or place of contradiction therewith.
4th, regression test, regression test refer to after having modified old code, re-start test to confirm that modification does not introduce New mistake causes other codes to generate mistake.The stages such as system testing, maintenance upgrade will be greatly reduced in automatic regression test Cost.
5th, Acceptance Test, Acceptance Test are the final tests of the specifications based on client or end user or based on user After the use of a period of time, see whether software meets customer requirement.Generally from function, user interface, performance, business association into Row test.
Since CAS application platform systems have following features:It is professional it is extremely strong, system is huge, function point various dimensions, flexibility It is high.It is required that tester grasps accounting knowledge and dependence test technology simultaneously, the test work of CAS application platforms could be carried out Make.Thus during test job, test man is in addition to the universal experience and technology that need to have software test, it is also necessary to right Accounting knowledge is had gained some understanding, and therefore, the cost is relatively high for test.
Invention content
The technical problems to be solved by the invention are to provide a kind of service test method based on CAS application platforms, can Coverage rate, testing efficiency and accurate testing degree are improved comprehensively, meet the test needs of CAS application platforms, and reduce test Cost.
In view of the above-mentioned problems, the present invention provides a kind of operational trials based on accounting standard universal classification standard application platform Method includes the following steps:
A. software systems to be tested are subjected to module division according to function;
B. each function module after division is split becomes the functional test point of different levels, and will according to syntagmatic It is layered;
C. generation test use cases are covered by constructing to the functional test point after layering so that the function of each level is surveyed Each virtual value of any pair of input parameter of pilot is at least covered by a test case;
D. functional test is carried out to its corresponding functional test point using test case.
Specifically, in step A, the function module includes enterprise building module, data relationship module, finance report module And universal standard module;
Enterprise building module:Criteria for classification listing function, criteria for classification editor, deletion, export function, element editor's work( Energy, row report chained library editting function, defines chained library editting function, calculating linking library editting function and mark at role's editting function Sign chained library editting function;
Data relationship module:Data relationship listing function, deletes function at data relationship editor;
Finance report module:Financial report listing function, financial report editor, deletion and export function;
Universal standard module:Universal standard listing function and universal standard look facility.
Specifically, enterprise building module creates enterprise classifying standard according to the universal standard, and establishment mode is divided into two kinds, one kind It is the enterprise classifying standard of newly-built blank, then user voluntarily extends criteria for classification into edlin, and another kind is to import contingency table It is accurate.Include importing the enterprise classifying standard Zip packets through overcompression by the method that lead-in mode creates enterprise classifying standard and lead to Cross the Excel file after financial statement element combs.
Specifically, the finance report module shows the instance document that all users create, and each example document data have One status indicator, status indicator are used to identify whether by verification, if not validated, to user's display reminding information. The method for creating instance document includes hand weaving, operation system and financial statement.
Specifically, in step B, the level of the functional test point is 2 layers, and a first order functional test point includes at least One second level functional test point.
Specifically, after the completion of layering, the input parameter of each second level functional test point and its effective value are determined.
Preferably, in step C, the method for generating test use cases includes:For the different functional test point of parameter value, First less to value parameter addition invalid value, after test use cases are obtained, then by the test case containing invalid parameter values It weeds out, so as to obtain fully effective test use cases.
The beneficial effects of the invention are as follows:The present invention provides one kind for the particularity of cas system platform during the test Service test method based on accounting standard universal classification standard application platform.This method according to function to software by carrying out mould Block divides, and generates test case according to each function module and software is tested.Using the method for the present invention, testing Cheng Zhong can improve coverage rate, testing efficiency and accurate testing degree comprehensively, meet the test needs of CAS application platforms, and Reduce testing cost.
Specific embodiment with reference to embodiments is described in further detail technical scheme of the present invention, should note Meaning, embodiment are not intended to limit the invention just for the sake of reader is helped to more fully understand the technical concept of the present invention Scope of the claims.
Specific embodiment
The present invention provides a kind of service test method based on accounting standard universal classification standard application platform, this method packet Include following steps.First, software systems to be tested are subjected to module division according to function;Secondly, by each function after division Module splits the functional test point as different levels, and is layered according to syntagmatic;Then, the function after layering is surveyed Pilot covers generation test use cases by constructing so that each any pair of input parameter of the functional test point of level is every A virtual value is at least covered by a test case;Finally, work(is carried out to its corresponding functional test point using test case It can test.
Embodiment
CAS application platforms work out XBRL financial reports using threshold, with conventional management system style to reduce accountant It is designed with node flow intelligent prompt mode;To reduce the complexity of expanded enterprise's criteria for classification, Excel is combed with report element File carries out importing design, and the micro extension for adjusting and criteria for classification can be completed only is needed after importing;Instance document is made a report on to reduce The workload of fact value, design data relationship map financial statement to the reusable element correspondence of XBRL reports, automatically Data pick-up is carried out from financial statement or operation system to make a report on instance document fact value.
The present invention is described in detail below.
1st, first software systems are divided by function module
The function of whole system is composed of different function modules, and whole system is split as decoupling Function module can realize the decomposition of test assignment, can also make to realize decoupling test in test design process.By to system System decomposition according to the difference of function, is become several function modules by analysis.
CAS application platforms are divided into company standard, four big mould of data relationship, financial report and the universal standard by function module Block.
Company standard is one of Core Feature, i.e., enterprise is according to universal classification standard-creation enterprise classifying standard.Pass through row The functional entrance of each criteria for classification, can check enterprise classifying standard, creates, edits, deletes and export operation in table, It creates and is divided into two kinds with the core that editing classification standard is the function, establishment mode, a kind of is the enterprise point of newly-built blank Class standard, then user is voluntarily into edlin extension criteria for classification, and another kind is to import criteria for classification, and it is two that lead-in mode, which is divided into, Kind, including importing through the enterprise classifying standard Zip packets of overcompression and by the Excel file after the combing of financial statement element.
Data relationship provides list interactive interface to the user, the finance report corresponding to each enterprise classifying standard of list display Table maps data, and data relationship can be created, checks, edits and delete by list, and creating data relationship only needs selection to pass through The enterprise classifying standard of verification and financial statement Excel file.
Financial report provides list interactive interface to the user, the instance document that all users of list display create, each Whether Instance Document data is there are one status indicator, i.e., by verification, if not validated offer user's prompt message.Pass through List can create, check, edit, delete and export instance document, and Value Data source includes for the fact that when creating instance document Three kinds of modes, respectively hand weaving, operation system and financial statement, hand weaving create the instance document of blank, need to use Instance document fact value is made a report in the pure craft in family, and operation system is then to extract the data in operation system by data relationship to fill out automatically Instance document fact value is reported, financial statement is another mode for making a report on instance document fact value automatically, and user can pass through importing Financial report file when the financial report Excel file woven or searching data relationship map automatic by platform, will be right The data answered are made a report in instance document automatically.
2nd, test function point grading extraction
It on the basis of function module division, is further finely divided, function module is split as different levels Function point, and be layered according to syntagmatic, the function point of test can be completely covered since then, avoid omitting, from And improve test coverage.After extracting all function points, the parameter and value of each function point are analyzed, extracts and obtains all parameters Value.
One XBRL criteria for classification includes Taxonomy Schema (.xsd) file and role, row report, definition, meter It calculates, label this five data chained library files.Sort file states a series of elements, including element name, ID attributes, element The contents such as type describe mathematics and definition relationship between element, can pass through " linguistic context label, meter to each data Calculation relationship, the form of expression, rule definition, referring-to relation " is constrained and specification.
Data link library file is calculated to define from the relationship between data calculating angle understanding project and project, for example, " tax It the concept of profit afterwards " and " income tax " concept is subtracted with the concept by " pre-tax profit " obtains.
Data link library file is defined to close from the relationship between conceptual point understanding project and project, such as general type and toolization System:" postalCode " is the extensive etc. of " zipCode ";
Label data link library file determines the title of project actual displayed in financial report, for example, mark can be used " RMRY " entry association defined in text string " nearest gross annual income " and classification is got up in label link;
Display data chained library document definition is in financial report, the display order of all sub-projects under unified father's project, For example, in report is shown, " sale " and " printer sale " should be shown as set membership.
Reference data chained library file definition entry purpose reference information can allow user's accurate understanding item by the information Purpose practical significance, this point are similar with label data chained library Documents Comparison.
Data relationship is that financial statement data is drawn into a kind of reusable element relations of XBRL report fact values to build Cube formula.Data relationship provides list interactive interface to the user, the finance report corresponding to each enterprise classifying standard of list display Table maps data, and data relationship can be created, checks, edits and delete by list, and creating data relationship only needs selection to pass through The enterprise classifying standard of verification and financial statement Excel file.Data relationship mapper is entered by editor, including financial statement Region and XBRL reports region, each region only show a corresponding report every time, between report by corresponding report subject or Element line is mapped, while longer in view of certain reports, increases the button of switching display direction, changeable longitudinal direction is reflected Emission mode view, facilitates user to map, and data relationship is preserved after the completion of mapping.
Financial report provides list interactive interface to the user, the instance document that all users of list display create, each Whether Instance Document data is there are one status indicator, i.e., by verification, if not validated offer user's prompt message.Pass through List can create, check, edit, delete and export instance document, and Value Data source includes for the fact that when creating instance document Three kinds of modes, respectively hand weaving, operation system and financial statement, hand weaving create the instance document of blank, need to use Instance document fact value is made a report in the pure craft in family, and operation system is then to extract the data in operation system by data relationship to fill out automatically Instance document fact value is reported, financial statement is another mode for making a report on instance document fact value automatically, and user can pass through importing Financial report file when the financial report Excel file woven or searching data relationship map automatic by platform, will be right The data answered are made a report in instance document automatically.Instance document editing machine is entered by Edit button, automatically opens instance document And show XBRL reports, editing machine includes element property, true value, XBRL reports, check information and checks five regions of option, Element and attribute list show the element chosen in XBRL reports, and can carry out quickly positioning XBRL report elements, fact value Region is the function of the true value of editor, including footnote and HTML editors, checks that option area includes XBRL reports angle The swatch color list and query function and true value numerical value unit and period check option, and instance document verification region shows example text Shelves check results information, XBRL reports region is the editing area of instance document, and true value can be made a report on by clicking each cell, be filled out Instance document is preserved after the completion of report, the XBRL forms of instance document can be exported in instance document list, for analyzing and reporting and submitting work Make etc..
3rd, test case Combination Design
Test case is also classified into company standard, number by the division according to the function module of the software systems in previous step 1 According to relationship, financial report, the universal standard, system testing.It is refined in company standard according still further to function module in previous step 2:
Enterprise building module:Criteria for classification listing function, criteria for classification editor, deletion, export function, element editor's work( Energy, row report chained library editting function, defines chained library editting function, calculating linking library editting function, label at role's editting function Chained library editting function.
Data relationship module:Data relationship listing function, deletes function at data relationship editor.
Finance report module:Financial report listing function, is deleted, export function at financial report editor.
The universal standard:Universal standard listing function, universal standard look facility
System testing:Company standard is created after data map to entire flow, the importing Excel for exporting financial report Mode create criteria for classification, the mode that imports Zip files creates criteria for classification, the mode of the newly-built universal standard creates contingency table After accurate, establishment company standard existing company standard function is obtained in data mapping and the financial report page, in already present enterprise Data mapping is created in industry standard base, creates financial report on the basis of already present company standard and data relationship.
Coverage test whole system function that can be comprehensive by above step.

Claims (8)

1. the service test method based on accounting standard universal classification standard application platform, which is characterized in that include the following steps:
A. software systems to be tested are subjected to module division according to function;Module after division includes enterprise building module, data Relationship module, finance report module and universal standard module;
Enterprise building module:Criteria for classification listing function, criteria for classification editor, deletion, export function, element editting function, angle Color editting function, defines chained library editting function, calculating linking library editting function and label link at row report chained library editting function Library editting function;
Data relationship module:Data relationship listing function, deletes function at data relationship editor;
Finance report module:Financial report listing function, financial report editor, deletion and export function;
Universal standard module:Universal standard listing function and universal standard look facility;
B. each function module after division is split into functional test point as different levels, and according to syntagmatic by its point Layer;
C. generation test use cases are covered by constructing to the functional test point after layering so that the functional test point of each level Each virtual value of any pair of input parameter at least covered by a test case;
D. functional test is carried out to its corresponding functional test point using test case.
2. the service test method as described in claim 1 based on accounting standard universal classification standard application platform, feature It is, enterprise building module creates enterprise classifying standard according to the universal standard, and establishment mode is divided into two kinds, and one kind is newly-built blank Enterprise classifying standard, then user voluntarily into edlin extend criteria for classification, another kind be import criteria for classification.
3. the service test method as claimed in claim 2 based on accounting standard universal classification standard application platform, feature Be, by the method that lead-in mode creates enterprise classifying standard include importing enterprise classifying standard Zip packets through overcompression with Excel file after being combed by financial statement element.
4. the service test method as described in claim 1 based on accounting standard universal classification standard application platform, feature It is, the finance report module shows the instance document that all users create, and there are one state marks for each example document data Know, status indicator is used to identify whether by verification, if not validated, to user's display reminding information.
5. the service test method as claimed in claim 4 based on accounting standard universal classification standard application platform, feature It is, the method for creating instance document includes hand weaving, operation system and financial statement.
6. the operational trials based on accounting standard universal classification standard application platform as described in claim 1 to 5 any one Method, which is characterized in that in step B, the level of the functional test point is 2 layers, and a first order functional test point at least wraps Include a second level functional test point.
7. the service test method as claimed in claim 6 based on accounting standard universal classification standard application platform, feature It is, after the completion of layering, determines the input parameter of each second level functional test point and its effective value.
8. the service test method as claimed in claim 7 based on accounting standard universal classification standard application platform, feature It is, in step C, the method for generating test use cases includes:For the different functional test point of parameter value, first to value compared with Few parameter addition invalid value, weeds out after test use cases are obtained, then by the test case containing invalid parameter values, so as to Obtain fully effective test use cases.
CN201510615864.9A 2015-09-24 2015-09-24 Service test method based on accounting standard universal classification standard application platform Active CN105260300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510615864.9A CN105260300B (en) 2015-09-24 2015-09-24 Service test method based on accounting standard universal classification standard application platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510615864.9A CN105260300B (en) 2015-09-24 2015-09-24 Service test method based on accounting standard universal classification standard application platform

Publications (2)

Publication Number Publication Date
CN105260300A CN105260300A (en) 2016-01-20
CN105260300B true CN105260300B (en) 2018-06-29

Family

ID=55100000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510615864.9A Active CN105260300B (en) 2015-09-24 2015-09-24 Service test method based on accounting standard universal classification standard application platform

Country Status (1)

Country Link
CN (1) CN105260300B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665166B (en) * 2016-07-27 2020-08-14 广州供电局有限公司 Function detection method and system of information system
CN106649112B (en) * 2016-12-20 2019-02-15 中国电子科技集团公司第五十四研究所 A kind of test method of object platform plug-in part technology
CN107688534A (en) * 2017-07-26 2018-02-13 平安科技(深圳)有限公司 Zonal testing method, apparatus, computer equipment and storage medium
CN112711532B (en) * 2020-12-29 2023-10-20 中国航空工业集团公司西安飞机设计研究所 Automatic testing method for undercarriage partition software
CN113672498B (en) * 2021-07-19 2023-09-15 华人运通(江苏)技术有限公司 Automatic diagnosis test method, device and equipment
CN116302902A (en) * 2021-12-08 2023-06-23 中兴通讯股份有限公司 Method and device for generating test case, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314647A (en) * 2011-09-29 2012-01-11 广州中浩控制技术有限公司 Method for storing business data by using XBRL (extensible business reporting language)
CN104346278A (en) * 2014-09-28 2015-02-11 上海新炬网络技术有限公司 Matrix-model-based software testing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110137923A1 (en) * 2009-12-09 2011-06-09 Evtext, Inc. Xbrl data mapping builder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314647A (en) * 2011-09-29 2012-01-11 广州中浩控制技术有限公司 Method for storing business data by using XBRL (extensible business reporting language)
CN104346278A (en) * 2014-09-28 2015-02-11 上海新炬网络技术有限公司 Matrix-model-based software testing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XBRL架构及其在我国的应用;李吉梅 等;《财务与会计(理财版)》;20131016;第45-48页 *
基于XBRL网络财务报告的持续审计模型构建;安静 等;《COMMERCIAL ACCOUNTING》;20110714;第27-28页 *

Also Published As

Publication number Publication date
CN105260300A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105260300B (en) Service test method based on accounting standard universal classification standard application platform
Mayer et al. IDEF family of methods for concurrent engineering and business re-engineering applications
US6965887B2 (en) Rule processing methods for automating a decision and assessing satisfiability of rule-based decision diagrams
Kamimura et al. Extracting candidates of microservices from monolithic application code
US7809669B2 (en) Rule processing system for determining a result response
US7328428B2 (en) System and method for generating data validation rules
US9798781B2 (en) Strategy trees for data mining
US7822795B2 (en) Apparatus and methods for displaying and determining dependency relationships among subsystems in a computer software system
US8862557B2 (en) System and method for rule-driven constraint-based generation of domain-specific data sets
Brockmans et al. Semantic Alignment of Business Processes.
US20050183002A1 (en) Data and metadata linking form mechanism and method
CN107679221B (en) Time-space data acquisition and service combination scheme generation method for disaster reduction task
US20050144166A1 (en) Method for assisting in automated conversion of data and associated metadata
US20090313201A1 (en) Method and system for capturing business rules for automated decision procession
US20120054590A1 (en) Spreadsheet-based graphical user interface for dynamic system modeling and simulation
US8943084B2 (en) Method, program, and system for converting part of graph data to data structure as an image of homomorphism
CN106372044A (en) Method for generating typed dimension XBRL (Extensible Business Reporting Language) report based on report form
WO2005076900A2 (en) Data and metadata linking form mechanism and method
US20070276637A1 (en) Visual optimization programming
Pytel et al. ENABLING UTXO-BASED BACKWARDS AND FORWARDS TRACEABILTY
Fill Semantic evaluation of business processes using SeMFIS
Ibrahimi et al. Model Slicing on Low-code Platforms.
Rinaldi et al. A framework for a data quality module in decision support systems: an application with smart grid time
WO2003081478A1 (en) Rule processing system and method
Ericsson et al. The design and implementation of a software infrastructure for IQ assessment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant