Testing Experience: Test Report

What are report test?

In a report recently started doing the test name suggests, refers to the test report, the report mainly to certain groups show some specific data or aggregated data, the report is mainly dealing with a bunch of test data, verification and validation reports show whether out of the data is correct, whether the value is wrong.

What the report needs to be done to test?

Preparation 1, before the test

Large amounts of data need to be prepared before reporting test data for a variety of business scenarios, data preparation must be comprehensive.

Peas king before not too much contact with the test reports, find it difficult to think of a lot of trouble, until the real start doing, nor imagined so difficult to do the test report, we need to make a few steps in front:

The first step, clear business, a report for each, which is to reflect what; the meaning of the report, who will use this report, this report concerns, what concern is that these eleven points clear rationale

The second step, carefully analyze which tables or which table each field comes from a report (this report relate to the table), but also how to calculate the value out of the field

A third step of generating condition data in a report, in general, many reports have field values ​​set out by the different conditions, the rationale is clear these conditions, during the test coverage of these conditions require full

As a simple example, there is a need for the report to reflect the user's most popular takeaway business, takeaway analysis platform which includes all the required conditions takeaway platforms exist in the system, then the data prepared in the course of testing, the take-away platform field value = = takeout all platforms

If the above While all three straightened, the basic need to do for this report has a clear understanding, and a thorough understanding of these conditions, the test report preparation process a variety of data can be handy, most importantly, is the test report data preparation must be comprehensive and omissions conditions can not occur.

2, the test

The actual testing process required to pursue sources of data and comparative data.

A method to view the fish sql statement data

Identify the test by viewing the log data to gain a form of the sql statement, a report for each, gain data sql statement is very long, which may be associated with different tables or fishing will take more than two data as the intermediate table, according to the data query or condition computing operation, most of the fish sql statement data are complex query, when they need a carding test conditions and the sql statement statements.

Method two, the data inspection line

Reports on the front line can gain sql data to get online to perform it, check the online environment sql whether the normal execution, the result of which is to avoid or because there is wrong, affects a certain field of no value to sql.

After checking the data line can prevent the line items, statements or reports an error value not show up.

We should not be too dependent on the test data during the test environment, we should be more understanding and more familiar with online data environments, and different forms of data in different scenarios.

Reports test so much, the whole testing process is data-centric, testers need to quickly prepare data, sensitive data, quickly analyze dependencies between the data.

To say in this testing process, learned a lot of rsql statement usage, since that previously was okay with sql statement, through this report the test he discovered that his former sql statement is really minor, the test report sql statement is more complicated, more logical.

If you have other methods to test reports, comments are welcome to discuss.

Guess you like

Origin www.cnblogs.com/evangline/p/11866669.html