Solved

Efficient Procedures or Guidelines for Testing SAS data?

Posted on 2012-04-02
3
425 Views
Last Modified: 2012-04-04
I am looking for a best, quick, and efficient way to test SAS data (output files, records, counts).  I am talking about the process, which is done after all SAS software programs have been written, and everything is already works, as it should.
Everyone test SAS data in their different ways, but I am looking the way that is more efficient and fast as well.

Currently, my SAS data testing includes the following bullets. Please shortly describe what you are doing for these bullets (short sub bullets will work as well).

1. Review Documents
2. Identify Requirements
3. Develop Test Data
4. Values to include in the testing data
5. Simulate command procedure and/ or parent module for testing
6. Test the Program


Note: Please do not refer me to links with testing guidelines, - I probably already read them. I am looking for the way that works for you.
Any comments or suggestions would be very appreciated!
Thank you in advance!
0
Comment
Question by:labradorchik
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Aloysius Low earned 500 total points
ID: 37799142
there isn't really an efficient way if you are talking about developing from scratch, especially ETL rules and logic... at least not for me

the most efficient (actually i would call it convenient) way i had was to take an existing set of data produced by the existing process, and do a PROC COMPARE, row by row, value for value to ensure that my process produces the exact output as the existing one...

otherwise, it's the slow way of producing expected results based on the input data for a sample set of records, bearing in mind to include records which has borderline values or special values and exceptional cases which the ETL is expected to handle..
0
 

Author Comment

by:labradorchik
ID: 37802559
lowaloysius, thank you very much for your comments!
I am sorry, I guess I meant to say "Independent Testing" way, -when there is no existing output data or you would even have to create your own input data (much smaller in size) for testing purposes.

Am I missing anything from these main bullets below while my independent testing?  Or any of these bullets can be eliminated or may be there is an another step that is missed?

1. Review Documents
2. Identify Requirements
3. Develop Test Data
4. Values to include in the testing data
5. Simulate command procedure and/ or parent module for testing
6. Test the Program
0
 

Author Closing Comment

by:labradorchik
ID: 37808677
Thank you, lowaloysius! I already put together my testing plan.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question