Fifteenth

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 11

Testing and Validation:

Techniques and Strategies

Confidential & Proprietary


Components for Testing
and Validation
• In Component Organizer: Validate Category
• Check Order
• Compare Checksums
• Compare Records
• Compute Checksum
• Generate Random Bytes
• Generate Records
• Validate Records
• In Other Categories:
• Intermediate File (Datasets)
• Trash (Miscellaneous)
• Dedup Sorted (Transform)

Confidential & Proprietary


Compare Records

Confidential & Proprietary


Generate Records and
Validate Records

Confidential & Proprietary


DML: Validation Function
Fields

Function fields with names that begin with


“is_valid” are called to check validity of data.

record
string(20) x;
decimal(5) y;
int is_valid_y() = (y > 0);
end

Confidential & Proprietary


Data Cleansing with
Reformat

Confidential & Proprietary


Data Cleansing with
Reformat

out :: cleanse(in) =
begin
out.x : : in.x;
out.y :1: if (in.y < 0) -in.y;
out.y :2: 99999;
end;

Confidential & Proprietary


Generating Test Data

• Generate Records component has many options:


sequential values, values of expressions, etc.
• Data can be produced “by hand” and reformatted in
any way desired.
• Data that is to be joined can be produced by
generating “wide” records and reformatting into
different data sets.
• Real data can be sampled/selected to produce test
data.
• Test data can be combined from multiple sources.

Confidential & Proprietary


Generating Test Data

Confidential & Proprietary


Using Intermediate Files to
“Capture” Data

Confidential & Proprietary


Testing Strategies

• Mix generated data with select special cases.


• Test serial form of application first.
• Test parallel form only after serial version
passes.
• Use production data to flesh out test data.
• Use Intermediate Files to capture intermediate
results

Confidential & Proprietary

You might also like