3.9.8.5 Reusing central test data sets in Test Cases

You can reuse a central test data set in a Test Case to provide the concrete data for the parameters required by the Test Case .

  1. In the Properties View for the Test Case , enter the name of the central test data set you want to use in the Central Test Data Set field.
    Press »CTRL+SPACE« to see a list of possible data sets for this Test Case . You will only be shown data sets that contain the correct parameters with the correct types.
  2. When you have entered a central test data set, then the Properties View shows central test data set as the data type. You will see the data from the central test data set in read-only form in the Data Sets View .
    If data is missing from the central test data set, you will receive the error that test data is incomplete for any Test Suites this Test Case is used in.
  3. You can delete the central test data set used by removing it from the central test data set field. The data type reverts to local data. For more information on the data sources, see the earlier section 3.9.7.
    You can use central test data sets that contain more parameters than your Test Case . For example, if your Test Case requires the parameters "NAME, ADDRESS" and your central test data set contains "NAME, ADDRESS, POSTCODE", you can still use the central test data set.



Copyright BREDEX GmbH 2011. Made available under the Eclipse Public License v1.0.