Automated Testing

Automated Testing

Automated Testing

Build an automated testing process to enable continuous integration of your hybrid cloud applications including z/OS

 View Only
Expand all | Collapse all

z/OS® Automated Unit Testing Framework (zUnit) test case from TSO

  • 1.  z/OS® Automated Unit Testing Framework (zUnit) test case from TSO

    Posted Thu July 18, 2013 09:03 AM

    Hi,

     

    We are trying z/OS® Automated Unit Testing Framework (zUnit) test case from RDZ v9.

    We have tested and generated the results successfully via, Running a test case from an executable file or load library   , Running a test case from JCL  , Running a test case from z/OS UNIX System Services   but we are not getting the result Running a test case from TSO .

    Please find the our output below.

    >FEKZUNIT CFGDSN(ZUNIT.AZUCFG(AZUCF001)) RESDSN(ZUNIT.AZURES(AZURS001)) LOADDSN('IXM110.SIXMLOD1','FEK850.SFEKLOAD',ZUNIT.COBOL.LOAD) TRACE VERBOSE
     
    ---------------------------------------------------------------------
    IBM z/OS Automated Unit Testing Framework (zUnit) REXX Exec
    @version aa3f6ee6-7f0d-48ae-9998-d41e64a82ba9
    ---------------------------------------------------------------------
     
    arguments:
    o CFGDSN, configuration file MVS location: ZUNIT.AZUCFG(AZUCF001)
    o RESDSN, results file MVS location: ZUNIT.AZURES(AZURS001)
    o LOADDSN, load library data sets: 'IXM110.SIXMLOD1','FEK850.SFEKLOAD',ZUNIT.COBOL.LOAD
    o TRACE, enable test runner trace output
    o VERBOSE, enable verbose exec output
     
    commands:
    o ALLOCATE DSNAME(ZUNIT.AZUCFG(AZUCF001)) DDNAME(AZUCFG)
    o ALLOCATE DSNAME(ZUNIT.AZURES(AZURS001)) DDNAME(AZURES)
    o TSOLIB ACTIVATE DDNAME(AZUCFG)
    o TSOLIB ACTIVATE DDNAME(AZURES)
    o TSOLIB ACTIVATE DATASET( 'IXM110.SIXMLOD1' 'FEK850.SFEKLOAD' ZUNIT.COBOL.LOAD )
    o CALL *(AZUTSTRN) ',/asis TRACE' ASIS
    o TSOLIB DEACTIVATE
    o TSOLIB DEACTIVATE
    o TSOLIB DEACTIVATE
    o FREE DDNAME(AZUCFG)
    o FREE DDNAME(AZURES)

     

     

     

    Please let us know, what we are missing.

     

    Regards,

    Sathya

     

     

    Acc_Rdz


  • 2.  Re: z/OS® Automated Unit Testing Framework (zUnit) test case from TSO

    Posted Tue August 27, 2013 06:44 PM

    Hi Sathya, I don't see any errors.  Was the data set member ZUNIT.AZURES(AZURS001) created?

    Often in TSO there is held output on the screen.  Could you paste an actual screen capture? Thanks, --Ted

    cipresso