zoukankan      html  css  js  c++  java
  • [Notes][BATS] Create BATS cases from the very beginning

    1. CRTLIB LIB(NARGSBATS) TEXT('bats test suite for named arguments') AUT(*LIBCRTAUT)                                                                
    Library NARGSBATS created.                                              
    2. batsinstal nargsbats                                                     
    Object BATSINFO type *FILE created in BATS library NARGSBATS.            
    Object Q5ATSTMD type *FILE created in BATS library NARGSBATS.            
    Object Q5ATSTFN type *FILE created in BATS library NARGSBATS.            
    Object MSGDATA type *FILE created in BATS library NARGSBATS.             
    Object PARSOUT type *FILE created in BATS library NARGSBATS.             
    Object DEMOSRC type *FILE created in BATS library NARGSBATS.             
    Printer device PRT01 not found. Output queue changed to QPRINT in library QGPL.                                                                  
    Object Q5ACMPNT type *FILE created in BATS library NARGSBATS.            
    Printer device PRT01 not found. Output queue changed to QPRINT in library QGPL.                                                                  
    Object Q5ASBCLS type *FILE created in BATS library NARGSBATS.            
    Printer device PRT01 not found. Output queue changed to QPRINT in library QGPL.                                                                  
    Object Q5AMODUL type *FILE created in BATS library NARGSBATS.            
    Printer device PRT01 not found. Output queue changed to QPRINT in library QGPL.                                                                  
    Object Q5AFUNCT type *FILE created in BATS library NARGSBATS.            
    Object SUBSYS type *FILE created in BATS library NARGSBATS.              
    Installation of required BATS objects in library NARGSBATS was successful. 
    3. write cases
    1) CRTSRCPF FILE(NARGSBATS/TESTS) TEXT('a source phsical file for named arguments'''' tests')                                                       
    File TESTS created in library NARGSBATS.
    2) ADDPFM FILE(NARGSBATS/TESTS) MBR(L5VSBCL01) TEXT('test DSPFFD on system catalogs')                                                               
    Member L5VSBCL01 added to file TESTS in NARGSBATS.                                3) wm nargsbats/tests

    image Enter “2” to edit case.

    4. run and prime a case
    1) addlible nargsbats
    2) strbats  => 进入的是curlib的suite, for example current lib is nargsbats, then if you want to start hptbats, you need to use "chgcurlib hptbats", and excute strbats. Then you will work with hptbats suite.
    3) F6 add case

    image

    After add test case, you can use F5 to refresh the list and get the newest information:

    image

    image

    And you also can find this case in FATT:

    image

    You can use image   to get case from remote server, and use image  to upload the case to the server.  You also can right-click case item and choose “Edit” to change case.

    image

    CRTJOBD JOBD(NARGSBATS/NARGSJOBD) TEXT('JOBD FOR NAMED ARGUMENTS') ENDSEV (50) INQMSGRPY(*SYSRPYL)                                   
    Job queue QBATCH found in library QGPL.                                  
    Job description NARGSJOBD created in library NARGSBATS.   

    BCHJOB JOB(L5VSBCL01) JOBD(NARGSBATS/NARGSJOBD) JOBQ(*JOBD) OUTQ (*JOBD) INQMSGRPY(*SYSRPYL)

  • 相关阅读:
    Springboot使用slf4j记录日志和lombok(能用的1)-主要看这个!
    mysql-覆盖索引(转载)(收藏过)
    Github上开源仿京东商城项目启动配置详解(小白版)
    java8 stream常用用法(转载)
    JDK下载过慢的问题解决方案
    intellij idea 的全局搜索快捷键方法(转载)
    Linux终端复制粘贴快捷命令
    Kali入门配置
    Google搜索
    Dig
  • 原文地址:https://www.cnblogs.com/lizmy/p/2079620.html
Copyright © 2011-2022 走看看