CDISC Builderâ„¢  2.1 - Installation Test Scripts - %difftest
The following documentation contains test scripts and expected results for validating the CDISC Builder tool.  Do the following to verify proper installation:
  • The following instructions are accomplished through Windows Explorer.
  • Perform each test by performing the steps specified by the instructions.  
  • Evaluate the results of each step by comparing them with results described in the Documentation column. 
Script Description Documentation
difftest1.sas Test the condition where the parameters: Path is invalid. Instructions 1
difftest1a.sas Test the condition where the parameters: Dat is invalid.
difftest1b.sas Test the condition where the parameters:  fpath is invalid.
difftest1c.sas Test the condition where the parameters: title is too long.
difftest2.sas Verify that same variables across different datasets are compared.

Instructions 2

difftest2.zip

difftest3.sas Verify same labels with different variables.

Instructions 3

difftest3.zip

difftest4.sas Verify format names are the same but format codes are not. 

Instructions 4

difftest4.zip

difftest5.sas Verify format codes are the same but the names are different. 

Instructions 5

difftest5.zip

difftest6.sas Verify data set names that are the same yet labels are different.

Instructions 6

difftest6.zip

difftest7.sas Verify data set labels are the same yet dataset names are different.

Instructions 7

difftest7.zip

difftest8.sas Verify that the dataset contain values that were not defined in the associated format.

Instructions 8

difftest8.zip

difftest9.sas Verify the condition where some datasets can not access in libraries..

Instructions 9  


Instructions 1
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest1.sas and select "Batch Submit" to run the test.

  3. Review the difftest1.log and verify that the following messages are produced corresponding to each test.

    • Test (A)
      ERROR: [difftest] requires at least one path parameter defined. 

    • Test (B)
      ERROR: [difftest] can not locate the path:
      K:\difftest\data. 

  4. Right mouse click on difftest1a.sas and select "Batch Submit" to run the test.

  5. Review the difftest1a.log and verify that the following messages are produced corresponding to the test.

    • Test (A)
      WARNING: [difftest] was unable to access data: diff
      located at path: <path of 'data\difftest' folder>.  

  6. Right mouse click on difftest1b.sas and select "Batch Submit" to run the test.

  7. Review the difftest1b.log and verify that the following messages are produced corresponding to the test.

    • ERROR: [difftest] can not locate the format path:
      K:\difftest\format. 

  8. Right mouse click on difftest1c.sas and select "Batch Submit" to run the test.

  9. Review the difftest1c.log and verify that the following messages are produced corresponding to the test.

    • WARNING: [difftest] The title is too long. It can be truncated. 

Instructions 2
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest2.sas and select "Batch Submit" to run the test.

  3. Verify that all the attributes of 2 different variables are captured in difft1.html.  You can verify this against the diff1.html in the benchmark folder.

Instructions 3
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest3.sas and select "Batch Submit" to run the test.

  3. Verify that all the attributes of the 2 variables with the same labels  are captured in difft2.html.  You can verify this against the difft2.html in the benchmark folder.

Instructions 4
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest4.sas and select "Batch Submit" to run the test.

  3. Verify that all the coded values for specified formats are captured in difft3.html.  You can verify this against the difft3.html in the benchmark folder.

Instructions 5
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest5.sas and select "Batch Submit" to run the test.

  3. Verify that format names with same code are captured in difft4.thml.  This can be verified against the difft4.html in the benchmark folder.

Instructions 6
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest6.sas and select "Batch Submit" to run the test.

  3. Verify that dataset names that are the same with different labels are captured in difft5.thml.  This can be verified against the difft5.html in the benchmark folder.

Instructions 7
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest7.sas and select "Batch Submit" to run the test.

  3. Verify those that have same labels but different dataset names are captured in difft6.thml.  This can be verified against the difft6.html in the benchmark folder.

Instructions 8
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest8.sas and select "Batch Submit" to run the test.

  3. Open difft7.html to verify that the dataset contains values that were not defined in the associated format.  This can be verified against the difft7.html in the benchmark folder.

Instructions 9
The following instructions are accomplished through Windows Explorer.

  1. Navigate to the validation directory named "saspgm".

  2. Right mouse click on difftest9.sas and select "Batch Submit" to run the test.

  3. Open difftest9.log file.  Verify that the message is displayed as follow.

    • WARNING: [difftest] was unable to access data: diff
       

  4.  Verify that difftest.html is created.

For more information, please contact MXI .

 
     Meta-Xceed Inc. © 2009