Interface test Data Management _ function test

Source: Internet
Author: User



Interface test Data Preparation scheme
The Data Preparation section is primarily a test data preparation strategy scenario for unit tests. ]
1 Background test data
Test background data is the business data that the test system runs on. May come from other peripheral systems, where the background data is usually used as input data in the tested system, the business operations are read only, no modifications are made, the business process completes the latter part may remain in position and may be backed up elsewhere.
Background test data is prepared in a one-time basis based on test requirements, and the background data table is backed up as a data baseline before testing.
Background test data changes may affect the original test case and test data, so background data and test data and test cases to establish a version of the relationship.
2 System Business test data
The system business data includes the static business data and the dynamic business data, the static business data refers to the data which will not be modified in the business operation, such as Business dictionary, business rule, etc., the dynamic business data refers to the data which will be generated or modified during the business operation, such as the examination and approval record
The system business data is closely related to the test case, and the test case relies on the system business data. Test case scripts before test execution modify the business data to satisfy the test requirements according to the test input data, the test script to read the dynamic business data validation results are correct, before the end of the test execution is usually to the changes and impact of the data to be rolled back.
Business data establishes a corresponding relationship with the test set.
3 Test input data
Test input data is provided to test data used by test scripts, and test input data should include: Business trigger data, expected result data, and configuration data.
The test input data corresponds to the one by one corresponding to the test case and is used in unit tests and interface tests to read Excel or read database methods.
For special input object data or file data, and so on, in the specified directory to save. This type of data is read through an interface.
The test input data corresponds to the test script. For more information, please focus on the 51testing software test network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.