CN108897686A - It is complete to record separately automated testing method and device - Google Patents
It is complete to record separately automated testing method and device Download PDFInfo
- Publication number
- CN108897686A CN108897686A CN201810694553.XA CN201810694553A CN108897686A CN 108897686 A CN108897686 A CN 108897686A CN 201810694553 A CN201810694553 A CN 201810694553A CN 108897686 A CN108897686 A CN 108897686A
- Authority
- CN
- China
- Prior art keywords
- accounting
- detail
- full
- flowing water
- separately
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
Abstract
The present invention provides a kind of full entry automated testing method and devices, are related to accounting technique field, and this method is applied to accounting engine, and method includes a full set of accounting parameter of load;The full set calculates parameter and includes at least accounting type, atomic action and amount of money type;Full dose is carried out by the accounting type, atomic action and amount of money type to combine, and generates the accounting flowing water of all standing;Stream treatment is carried out to the accounting flowing water and obtains flowing water information;The flowing water information is recorded separately including at least detail;The detail is recorded separately and generation test result is compared in preset accounting entry table.A kind of full entry automated testing method and device provided in an embodiment of the present invention, so that accounting engine with the correctness of individual authentication itself function and can calculate whether parameter instantiation is correct, and the problem of the heavy workload calculated to processing result is effectively relieved.
Description
Technical field
The present invention relates to accounting technique fields, more particularly, to a kind of full entry automated testing method and device.
Background technique
Accounting engine is a key component after transaction is separated with accounting, is in the most important thing entirely calculating link,
But as a back-end system, itself can not initiate to trade.If test method routinely, it is necessary to wait front end applications component function
The correctness for ability validation engine function that energy exploitation is completed, tester's initiation is traded.Obviously, within the identical development cycle,
Accounting engine will rely on the access of front end applications component, then complete built-in function correct verification and ensure that accounting criteria instantiates parameter
Correctness, such way risk is too big.
In accounting engine of new generation, 2238 entry rules are configured with by business major class.It is most basic when calculating test
Range seeks to cover these entry rules.Routinely way is exactly that business personnel has verified an entry and just blends one point
Record rule.System of new generation covers bank's major part business, is related to 142 kinds of major class business altogether, and manual verification calculates case 20,000
It is multiple.Tester divides the work by business.For tracking and testing progress, needs to count each application component in front end daily and record separately rule
Coverage.It fills in daily and summarizes tester and blend table by hand and calculate coverage rate heavy workload and fallibility.
Generally speaking, the test method of existing accounting entry still has following problems:First, the accounting of accounting engine is correct
Property validation test to numerous front end applications components development progress, environment, transaction case, in terms of exist rely on,
Accounting engine can not complete independently function accuracy verifying, can not verify in advance calculate parameter instantiation correctness;Second, core
It calculates result and error reason needs accounting engine technique personnel manually to help to examine;Third, each application component test cases is in accounting
Rule coverage degree is recorded separately, need to manually be registered by each component tester, not only artificial registration amount is big, but also complex management.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of full entry automated testing method and devices, so that accounting
Whether engine can correct with the correctness of individual authentication itself function and accounting parameter instantiation, and is effectively relieved and ties to processing
The problem of heavy workload that fruit is calculated.
In a first aspect, it is applied to accounting engine the embodiment of the invention provides a kind of full entry automated testing method, it should
Method includes:Load is a full set of to calculate parameter;The full set calculates parameter and includes at least accounting type, atomic action and amount of money type;
Full dose is carried out by the accounting type, atomic action and amount of money type to combine, and generates the accounting flowing water of all standing;To the accounting flowing water
It carries out stream treatment and obtains flowing water information;The flowing water information is recorded separately including at least detail;By the detail record separately and it is preset
Generation test result is compared in accounting entry table.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein on
It states and the step of stream treatment obtains flowing water information is carried out to the accounting flowing water, including:Verify each transaction flow in the accounting flowing water
The data integrity and rightness of business of hydrology part;If verification passes through, which is cut into multiple virtual subnets
Task, and the record to be processed of corresponding number is inserted into according to the number of the virtual subtask in list of document;The virtual subnet
Task includes that detail records separately generation subtask and transaction journal registration documents deletion subtask;Successively search in this document registration form
Each record to be processed, and corresponding virtual subtask in the record to be processed is handled;It is given birth to if handling successfully
It is recorded separately at corresponding detail.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect
Possible embodiment, wherein this method further includes:If verification does not pass through or processing failure, generate corresponding error code and
Error message, and the error code and the error message are registered in and calculated in exception information table.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides the third of first aspect
Possible embodiment, wherein the step of above-mentioned corresponding detail of generation is recorded separately, including:By the product of the transaction journal file
Information and product conditional information are mapped to accounting type;It is determined to calculate according to the accounting type, atomic action and amount of money type and be divided
Record rule, and combine accounting entry rule to generate corresponding detail and record separately.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein on
It states to record separately the detail and the step of generating test result is compared with preset accounting entry table, including:It is bright to export this
Subdivision record;The detail is recorded separately:Detail records separately subject, debt-credit direction and clobal tracking number;The clobal tracking number
It is spliced by accounting type number, atomic action number and amount of money type number;According to the clobal tracking number in advance
The respective items for recording separately subject and the debt-credit direction with the detail are searched in the accounting entry table of setting, and the detail is recorded separately into subject
It is compared with the debt-credit direction with the respective items;If comparison is inconsistent, the respective items in the accounting entry table are identified.
The 4th kind of possible embodiment with reference to first aspect, the embodiment of the invention provides the 5th kind of first aspect
Possible embodiment, wherein the step of above-mentioned export detail is recorded separately, including:It is bright that this is concurrently exported using multithreading
Subdivision record.
With reference to first aspect, the embodiment of the invention provides the 6th kind of possible embodiments of first aspect, wherein on
It states and the step of full dose combines, generates the accounting flowing water of all standing, packet is carried out by the accounting type, atomic action and amount of money type
It includes:The accounting type, the data file of atomic action and amount of money type are exported respectively;According to the data file, by the accounting class
Type, atomic action and amount of money type carry out full dose and combine to obtain full dose composition file;It is handed over by the full dose composition file combined standard
Easy flowing water element generates the accounting flowing water of all standing.
With reference to first aspect, the embodiment of the invention provides the 7th kind of possible embodiments of first aspect, wherein
Before an above-mentioned load full set calculates the step of parameter, further include:Corresponding engine variant is configured according to accounting standard to be tested;
A full set of accounting parameter is configured under the engine variant.
With reference to first aspect, the embodiment of the invention provides the 8th kind of possible embodiments of first aspect, wherein
After above-mentioned the step of generation test result is compared in detail entry and preset accounting entry table, further include:
It is recorded separately according to the detail and the test result carries out component and is successfully accessed rate statistics, ring fence coverage rate statistics and calculates scene
Coverage rate statistics.
Second aspect, the embodiment of the invention also provides a kind of full entry automatic test devices, including:Parameter loads mould
Block, for loading a full set of accounting parameter;The full set calculates parameter and includes at least accounting type, atomic action and amount of money type;Core
Flowing water generation module is calculated, is combined for carrying out full dose by the accounting type, atomic action and amount of money type, generates the core of all standing
Calculate flowing water;Stream treatment module obtains flowing water information for carrying out stream treatment to the accounting flowing water;The flowing water information is at least wrapped
Include detail entry;Generation test knot is compared with preset accounting entry table for recording separately the detail in comparison module
Fruit.
The embodiment of the present invention brings following beneficial effect:
A kind of full entry automated testing method provided in an embodiment of the present invention and device, this method are drawn applied to accounting
It holds up, this method, which includes that load is a full set of, calculates parameter;The full set calculates parameter and includes at least accounting type, atomic action and amount of money class
Type;Full dose is carried out by the accounting type, atomic action and amount of money type to combine, and generates the accounting flowing water of all standing;To the accounting
Flowing water carries out stream treatment and obtains flowing water information;The flowing water information is recorded separately including at least detail;The detail is recorded separately and is set in advance
Generation test result is compared in fixed accounting entry table;So that accounting engine can with the correctness of individual authentication itself function and
The problem of calculating whether parameter instantiation is correct, and the heavy workload calculated to processing result be effectively relieved.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features, and advantages of the disclosure to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of total ecosystem unified test method for testing provided in an embodiment of the present invention;
Fig. 2 is a kind of full flow chart for recording separately automated testing method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of accounting engine transaction journal processing provided in an embodiment of the present invention;
Fig. 4 is that a kind of application component parameter provided in an embodiment of the present invention issues flow chart;
Fig. 5 is a kind of full structural schematic diagram for recording separately automatic test device provided in an embodiment of the present invention;
Fig. 6 is another full structural schematic diagram for recording separately automatic test device provided in an embodiment of the present invention.
Icon:
51- parameter loading module;52- calculates flowing water generation module;53- stream treatment module;54- comparison module;61- system
Count module.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
The big function of the one of accounting engine is to generate detail to record separately, but generate flowing water from front end application component and receive to engine
Flowing water will circulate multiple links, and receiving flowing water from engine will do it legitimacy inspection to data item during detail is recorded separately to generating
It tests and flowing water information and engine calculates the matching of parameter.During these, any mistake of generation will lead to and can not generate
It records separately.Since the front end applications component of a new generation's access accounting engine is to there are 61 at present, and all draw in synchronism detection by accounting
Hold up limited technical staff one by one manually search error reason that can not imagine simply.How convenient, effectively and rapidly communication group
Part information interaction result becomes a problem.
As shown in Figure 1, being a kind of flow chart of total ecosystem unified test method for testing provided in an embodiment of the present invention, in practical behaviour
In work, firstly, tester executes account transaction case in transaction system by hand;Secondly, after transaction system generates transaction journal,
Accounting engine is transferred to by asynchronoud data channel;Then, after accounting engine finishes data validation inspection to transaction journal, root
It is calculated according to flowing water content matching and records separately rule, handled and generate accounting entry under successfully scene, misregistration reason under failure scene;
Finally, tester checks accounting entry and error reason, the accounting entry rule coverage rate of each component is manually registered.
For this total ecosystem unified test method for testing, the accounting verification of correctness of accounting engine is tested to numerous front end applications
Component development progress, environment, transaction case, in terms of exist rely on, it is correct that complete independently function can not be shifted to an earlier date
Property verifying, can not verify in advance calculate parameter instantiation correctness.Moreover, the accounting result and error reason need of this kind of method
It wants accounting engine technique personnel manually to help to examine, can not support to widely apply the concurrent test under component access scene.In addition, each
Application component test cases is manually registered in accounting entry rule coverage degree by each component tester, not only artificial registration amount
Big and complex management can not check and calculate the integrality in relation to testing.
Generally speaking, the prior art there is also accounting engine can not individual authentication itself function correctness and calculate parameter
The problem of instantiation larger workload whether correct and processing result is calculated.Based on this, the embodiment of the present invention is provided
One kind it is complete record separately automated testing method and device so that accounting engine can be with the correctness and core of individual authentication itself function
The problem of calculating whether parameter instantiation is correct, and the heavy workload calculated to processing result be effectively relieved.
To record separately automation entirely to one kind disclosed in the embodiment of the present invention first and surveying convenient for understanding the present embodiment
Method for testing describes in detail.
Embodiment one
As shown in Fig. 2, for a kind of full flow chart for recording separately automated testing method provided in an embodiment of the present invention, this method
Applied to accounting engine, from Figure 2 it can be seen that this method comprises the following steps:
Step S201:Load is a full set of to calculate parameter;The full set calculates parameter and includes at least accounting type, atomic action and gold
Volume type.
Firstly, accounting engine (Accounting Engines) is to handle one that exports accounting relevant information for acquiring
The data of contact data library and other application system handle device.Secondly, it is true for economy (not only according to ad hoc rules for calculating
Be limited to bank and the contractual relation of client, the item of bank economy interests can be influenced by further comprising other) reflection and expression,
Its object is to useful information is provided for stakeholder.Here, itself functional test and ginseng are carried out in operation accounting engine
When number instantiation test, in order to guarantee the comprehensive of test, sufficiently reflects the function situation of accounting engine, need to load accounting engine
The accounting parameter for all that may be used, namely a full set of accounting parameter.Wherein, it includes at least and calculates type, atomic action and gold
Volume type.
It, can be with before a full set of accounting parameter of accounting engine load in addition, at least one possible embodiment
Corresponding engine variant is first configured according to accounting standard to be tested, a full set of accounting parameter is then configured under the engine variant.
Wherein, accounting standard is a set of file of the accounting of specification accountant item, accounting report, its purpose is accounting process to establish
On just and sound, reasonable basis, and make it possible the comparison of accounting result between different times, different subjects.For
Different application scenarios may use different accounting standards, such as China Banking Regulatory Commission, PORT OF XIANGGANG to supervise meeting and the Banking Supervision Commission of the U.S. etc.
Use different accounting standards.
Step S202:Full dose is carried out by above-mentioned accounting type, atomic action and amount of money type to combine, and generates the core of all standing
Calculate flowing water.
In the present embodiment, type, the data file of atomic action and amount of money type are calculated firstly, exporting respectively;Secondly,
According to the data file, combine above-mentioned accounting type, atomic action and the amount of money type progress full dose to obtain full dose composition file;
Then, the accounting flowing water of all standing is generated by the full dose composition file combined standard transaction journal element.
Here, type, every group of full dose combined covering of atomic action and amount of money type three parameters are calculated
Conjunction mode, so that the possible combination that practical operation uses all covers wherein.Similarly, all standing of generation is calculated
Flowing water also includes the accounting flowing water of all possible types, so that the accounting flowing water that may be used in practical operation is all covered
Wherein.
Step S203:Stream treatment is carried out to the accounting flowing water and obtains flowing water information;The flowing water information includes at least detail
It records separately.
Firstly, verifying the data integrity and rightness of business of each transaction journal file in the accounting flowing water.If verification
Pass through, then the transaction journal file is cut into multiple virtual subtasks, and step in file according to the number of the virtual subtask
Remember the record to be processed that corresponding number is inserted into table.The virtual subtask includes that detail entry generation subtask and transaction journal are stepped on
Remember that file deletes subtask.
Then, each record to be processed in this document registration form is successively searched, and to corresponding in the record to be processed
Virtual subtask handled.Corresponding detail is generated if handling successfully to record separately.When generating detail entry, the first step,
The product information of transaction journal file and product conditional information are mapped to accounting type;Second step, according to the accounting type with
And above-mentioned atomic action and amount of money type determine to calculate and record separately rule, and combine the accounting to record separately rule and generate corresponding detail point
Record.
During above-mentioned stream treatment, if verification does not pass through or processing failure, corresponding error code and mistake are generated
False information, and the error code and the error message are registered in and calculated in exception information table.
Step S204:The detail is recorded separately and generation test result is compared in preset accounting entry table.
Here, first export detail is recorded separately.The detail is recorded separately:Detail record separately subject, debt-credit direction and clobal with
Track number.Wherein, clobal tracking number is spliced by accounting type number, atomic action number and amount of money type number, should
The comparison that clobal tracking number is convenient for subsequent detail to record separately.In a kind of wherein embodiment, multithreading can be used
Concurrently export detail entry.
Then, it is searched further according to the clobal tracking number into preset accounting entry table and the detail entry section
The respective items of mesh and the debt-credit direction, and detail is recorded separately into subject and debt-credit direction and is compared with the respective items.If comparing not
Unanimously, then the respective items in the accounting entry table are identified, exception information is quickly searched in order to subsequent.
In this way, full entry automated testing method provided in an embodiment of the present invention, does not need front end applications component and provides core
Calculate parameter and chronological file, can oneself independent configuration load is a full set of calculates parameter, and generate the chronological file of all standing, certainly
Dynamic load is a full set of to be calculated parameter and carries out stream treatment to the chronological file of all standing, and the detail of generation is recorded separately and pre-set
Accounting entry table is compared to obtain test result, under the premise of not depending on front end assemblies, test environment, tester, fastly
Whether the function accuracy and accounting parameter instantiation of speed verifying accounting engine are correct.
Embodiment two
The embodiment of the present invention describes a kind of full transaction journal treatment process recorded separately in automated testing method, with more preferable
Understand the running of the test method.
As shown in figure 3, for a kind of flow chart of accounting engine transaction journal processing provided in an embodiment of the present invention, in Fig. 3
Shown in embodiment, for the transaction journal file of acquisition, accounting engine starts a job by job scheduling platform
Stream is handled.Its specific process flow is as follows:
The first step carries out verification and task cutting Job to transaction journal file.Firstly, the data of verification chronological file are complete
Whole property and rightness of business;Then, after through verification, chronological file is cut by a not grade of 1-10 according to the size of file
Virtual subtask, and 1-10 item record to be processed is inserted into list of document, drive the execution of next layer of JOB.
Second step, detail, which is recorded separately, generates Job_01 to Job_10.It is registered according to filename and batch number (01-10) in file
The subtask to be processed for searching whether to distribute to itself in table successfully returns if not finding record;If having found wait locate
Reason record then handles the initial row of specific transaction journal in subtask to be processed to termination row.
Third step, transaction journal registration documents delete Job.Show the accounting flowing water text if going to this Job
Part has completed verification and task cutting, and waiting task is inserted in list of document.
In addition, driving transaction journal file processing state is updated Job, according to text after two steps have been carried out in front
The processing result of part name locating file registration form record to be processed, and update the checking information file is performed integrally situation.
Embodiment three
Present embodiments provide it is another complete record separately automated testing method, for there is front end applications component in practical operation
The case where accessing accounting engine, this method describe accounting engine and obtain the another way for calculating parameter.
It referring to fig. 4, is a kind of application component parameter publication flow chart provided in an embodiment of the present invention, in the reality shown in Fig. 4
It applies in mode, full dose Parameter File is synchronized to data warehouse by each product component maintenance items and accounting Type mapping parameter,
It is automatic to obtain full dose Parameter File when the Parameter File that accounting engine monitors the area data warehouse SA has update, it will after verification
Parameter flush buffers.
Specifically, firstly, application component by product and calculate Type mapping parameter (mapping condition define table, calculate class
Type maps main table, sublist) it is distributed to data warehouse;Secondly, application component closes account notice to accounting engine;Then, it calculates
Engine obtains the Parameter File that application component is issued from the area data warehouse SA;Then, calculate what engine was issued using application component
Parameter File refreshes local parameter copy, and updates memory;Finally, accounting engine internal parameter is tieed up by parameter maintenance interface
It protects into system, and by being supported for the different engine variant of parameter setting to provide accounting for different accounting standards.
Example IV
For front end applications component in practical operation and accounting engine interactive information result feedback quantity it is big, involve a wide range of knowledge,
The problem of heavy workload for causing the later period to calculate processing result, the embodiment of the invention provides another full entry is automatic
Change test method.The test method is compared recording separately detail with preset accounting entry table on the basis of Fig. 2
After generating test result, is recorded separately also according to the detail and test result progress component is successfully accessed rate statistics, ring fence covers
Lid rate statistics and accounting scene coverage rate statistics.
In addition, generating detail during accounting engine carries out full entry automatic test and recording separately and register wrong
The accounting exception information table of error code and error message.In a kind of wherein possible embodiment, based on above-mentioned test result, bright
Subdivision record and accounting exception information table are established and calculate result queries service system.Wherein, in the inquiry system, inquiry user,
Search access right, inquiry menu can be saved in the buffer with structured form with dynamic configuration, all configurations, the query service system
System is come into force by flush buffers mode.Also, query result supports single inquiry and big data quantity batch to export, from the background using more
Thread mode concurrently exports, and merges and generates final batch documents, but also can support to check with batch in real time, to solve to survey
The problems such as few, the test site dispersion of examination personnel.In addition, batch export result maximum quantity supports dynamic configuration, after the completion of update
Query service flush buffers come into force.
Full entry automated testing method provided in this embodiment, can be effectively relieved existing accounting entry test method
In processing result is calculated heavy workload the problem of.
Embodiment five
As shown in figure 5, for a kind of full structural schematic diagram for recording separately automatic test device provided in an embodiment of the present invention, by
Fig. 5 is as it can be seen that the device includes the parameter loading module 51 being sequentially connected, calculates flowing water generation module 52, stream treatment module 53
With comparison module 54, wherein the function of modules is as follows:
Parameter loading module 51, for loading a full set of accounting parameter;The full set calculates parameter and includes at least accounting type, original
Son movement and amount of money type;
Flowing water generation module 52 is calculated, is combined for carrying out full dose by the accounting type, atomic action and amount of money type, it is raw
At the accounting flowing water of all standing;
Stream treatment module 53 obtains flowing water information for carrying out stream treatment to the accounting flowing water;The flowing water information is extremely
It less include that detail is recorded separately;
Generation test knot is compared with preset accounting entry table for recording separately the detail in comparison module 54
Fruit.
On the basis of Fig. 5, as shown in fig. 6, for another full structural schematic diagram for recording separately automatic test device, the dress
Setting further includes statistical module 61, which is connected with comparison module 54, which is used to be recorded separately and be tested according to detail
As a result component is carried out to be successfully accessed rate statistics, ring fence coverage rate statistics and calculate scene coverage rate statistics.
The technical effect and preceding method embodiment phase of device provided by the embodiment of the present invention, realization principle and generation
Together, to briefly describe, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.
Unless specifically stated otherwise, the opposite step of the component and step that otherwise illustrate in these embodiments, digital table
It is not limit the scope of the invention up to formula and numerical value.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustratively, without
It is as limitation, therefore, other examples of exemplary embodiment can have different values.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
Finally it should be noted that:Embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that:Anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of full entry automated testing method, which is characterized in that it is applied to accounting engine, the method includes:
Load is a full set of to calculate parameter;The a full set of parameter of calculating includes at least accounting type, atomic action and amount of money type;
Full dose is carried out by the accounting type, the atomic action and the amount of money type to combine, and generates the accounting stream of all standing
Water;
Stream treatment is carried out to the accounting flowing water and obtains flowing water information;The flowing water information is recorded separately including at least detail;
The detail is recorded separately and generation test result is compared in preset accounting entry table.
2. full entry automated testing method according to claim 1, which is characterized in that it is described to the accounting flowing water into
Row stream treatment obtains the step of flowing water information, including:
Verify the data integrity and rightness of business of each transaction journal file in the accounting flowing water;
If verification passes through, the transaction journal file is cut into multiple virtual subtasks, and according to the virtual subtask
Number the record to be processed of corresponding number is inserted into list of document;The virtual subtask includes that detail records separately generation
Task and transaction journal registration documents delete subtask;
Each record to be processed in the list of document is successively searched, and to corresponding void in the record to be processed
Quasi- subtask is handled;
Corresponding detail is generated if handling successfully to record separately.
3. full entry automated testing method according to claim 2, which is characterized in that further include:
If verification does not pass through or processing failure, corresponding error code and error message are generated, and by the error code and described
Error message, which is registered in, to be calculated in exception information table.
4. full entry automated testing method according to claim 2, which is characterized in that described to generate corresponding detail point
The step of record, including:
The product information of the transaction journal file and product conditional information are mapped to the accounting type;
It is determined to calculate according to the accounting type, the atomic action and the amount of money type and records separately rule, and in conjunction with the core
Point counting record rule generates corresponding detail and records separately.
5. full entry automated testing method according to claim 1, which is characterized in that it is described by the detail record separately and
The step of generating test result is compared in preset accounting entry table, including:
The detail is exported to record separately;The detail is recorded separately:Detail records separately subject, debt-credit direction and clobal tracking number;
The clobal tracking number is spliced by accounting type number, atomic action number and amount of money type number;
It is searched according to the clobal tracking number into preset accounting entry table and records separately subject and institute with the detail
The respective items in debt-credit direction are stated, and the detail is recorded separately into subject and the debt-credit direction and is compared with the respective items;
If comparison is inconsistent, the respective items in the accounting entry table are identified.
6. full entry automated testing method according to claim 5, which is characterized in that the export detail is recorded separately
The step of, including:
The detail is concurrently exported using multithreading to record separately.
7. full entry automated testing method according to claim 1, which is characterized in that it is described by the accounting type,
The step of atomic action and the amount of money type carry out full dose combination, generate the accounting flowing water of all standing, including:
The accounting type, the data file of the atomic action and the amount of money type are exported respectively;
According to the data file, combine the accounting type, the atomic action and the amount of money type progress full dose
To full dose composition file;
The accounting flowing water of all standing is generated by the full dose composition file combined standard transaction journal element.
8. full entry automated testing method according to claim 1, which is characterized in that join in a full set of calculate of the load
Before several steps, further include:
Corresponding engine variant is configured according to accounting standard to be tested;
A full set of accounting parameter is configured under the engine variant.
9. full entry automated testing method according to claim 1, which is characterized in that record separately the detail described
After the step of generating test result is compared with preset accounting entry table, further include:
According to the detail record separately and the test result carry out component be successfully accessed rate statistics, ring fence coverage rate statistics and
Calculate scene coverage rate statistics.
10. a kind of full entry automatic test device, which is characterized in that including:
Parameter loading module, for loading a full set of accounting parameter;The a full set of parameter of calculating is moved including at least accounting type, atom
Make and amount of money type;
Flowing water generation module is calculated, for carrying out full dose group by the accounting type, the atomic action and the amount of money type
It closes, generates the accounting flowing water of all standing;
Stream treatment module obtains flowing water information for carrying out stream treatment to the accounting flowing water;The flowing water information is at least
It is recorded separately including detail;
Generation test result is compared with preset accounting entry table for recording separately the detail in comparison module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810694553.XA CN108897686B (en) | 2018-06-28 | 2018-06-28 | Full-entry automatic testing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810694553.XA CN108897686B (en) | 2018-06-28 | 2018-06-28 | Full-entry automatic testing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108897686A true CN108897686A (en) | 2018-11-27 |
CN108897686B CN108897686B (en) | 2022-05-27 |
Family
ID=64347243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810694553.XA Active CN108897686B (en) | 2018-06-28 | 2018-06-28 | Full-entry automatic testing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108897686B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111382081A (en) * | 2020-03-27 | 2020-07-07 | 中国建设银行股份有限公司 | Entry verification test method and device |
CN111797019A (en) * | 2020-07-03 | 2020-10-20 | 中国建设银行股份有限公司 | Transaction accounting test method and device, accounting engine and storage medium |
CN112101911A (en) * | 2020-09-22 | 2020-12-18 | 云账户技术(天津)有限公司 | Method and device for generating accounting entry |
CN116340187A (en) * | 2023-05-25 | 2023-06-27 | 建信金融科技有限责任公司 | Rule engine migration test method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040181553A1 (en) * | 2002-12-16 | 2004-09-16 | Stockfisch Thomas P. | Chart-ahead method for decision tree construction |
CN105488614A (en) * | 2015-11-20 | 2016-04-13 | 张学林 | Accounting teaching demonstration system for practical simulation module |
CN106022902A (en) * | 2016-05-13 | 2016-10-12 | 中国建设银行股份有限公司 | Accounting method and device |
CN107480116A (en) * | 2017-06-30 | 2017-12-15 | 厦门快商通科技股份有限公司 | It is a kind of to automatically generate accounting item, the method and system of accounting entry |
-
2018
- 2018-06-28 CN CN201810694553.XA patent/CN108897686B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040181553A1 (en) * | 2002-12-16 | 2004-09-16 | Stockfisch Thomas P. | Chart-ahead method for decision tree construction |
CN105488614A (en) * | 2015-11-20 | 2016-04-13 | 张学林 | Accounting teaching demonstration system for practical simulation module |
CN106022902A (en) * | 2016-05-13 | 2016-10-12 | 中国建设银行股份有限公司 | Accounting method and device |
CN107480116A (en) * | 2017-06-30 | 2017-12-15 | 厦门快商通科技股份有限公司 | It is a kind of to automatically generate accounting item, the method and system of accounting entry |
Non-Patent Citations (1)
Title |
---|
李洪: "把握八个关系,提高审计质量--关于风险导向审计理念在实务中运用的思考", 《中国注册会计师》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111382081A (en) * | 2020-03-27 | 2020-07-07 | 中国建设银行股份有限公司 | Entry verification test method and device |
CN111797019A (en) * | 2020-07-03 | 2020-10-20 | 中国建设银行股份有限公司 | Transaction accounting test method and device, accounting engine and storage medium |
CN111797019B (en) * | 2020-07-03 | 2023-06-20 | 中国建设银行股份有限公司 | Transaction accounting test method and device, electronic equipment and storage medium |
CN112101911A (en) * | 2020-09-22 | 2020-12-18 | 云账户技术(天津)有限公司 | Method and device for generating accounting entry |
CN116340187A (en) * | 2023-05-25 | 2023-06-27 | 建信金融科技有限责任公司 | Rule engine migration test method and device, electronic equipment and storage medium |
CN116340187B (en) * | 2023-05-25 | 2023-08-15 | 建信金融科技有限责任公司 | Rule engine migration test method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108897686B (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhou et al. | Fault analysis and debugging of microservice systems: Industrial survey, benchmark system, and empirical study | |
CN107958049B (en) | Data quality inspection management system | |
CN108897686A (en) | It is complete to record separately automated testing method and device | |
CN105283852B (en) | A kind of method and system of fuzzy tracking data | |
CN105283849B (en) | For the Parallel Tracking of performance and details | |
CN105103147B (en) | With work load distributor come the method and system that track | |
Rodriguez et al. | On software engineering repositories and their open problems | |
Becker et al. | Decision criteria in digital preservation: What to measure and how | |
CN107003906A (en) | The type of cloud computing technology part is to type analysis | |
CN108764808A (en) | Data Analysis Services system and its on-time model dispositions method | |
CN103761189B (en) | Test case management method and system | |
CN105122230A (en) | Tracing as a service | |
CN110134582A (en) | The processing of test case and data processing method and device | |
CN108595336A (en) | A kind of computer software testing system based on Ethernet | |
CN106803799A (en) | A kind of performance test methods and device | |
CN110232279A (en) | A kind of leak detection method and device | |
CN103955429B (en) | Determine the method and device of regression test scope | |
CN108959065A (en) | The verification method and system of software interface test parameter | |
Saleh et al. | Hadoopmutator: A cloud-based mutation testing framework | |
CN107451058A (en) | A kind of software development methodology and device | |
CN112559525B (en) | Data checking system, method, device and server | |
CN107544895A (en) | Hadoop big datas platform testing system and method | |
CN104462461B (en) | The method and device of investigation processing empty value is carried out to list | |
CN109299016A (en) | Assessment document structure tree method, system and terminal device | |
CN112700083A (en) | Method and device for constructing scene of resource comprehensive utilization and service index system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |