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)

  • 相关阅读:
    Membership provider Role provider 机制详解
    android Toast大全(五种情形)建立属于你自己的Toast
    android:scaleType属性
    Android接收短信同时获取短信内容
    JAVA三大框架的各自作用
    Android短信监听器
    ImageView / ImageButton 图片太大或者太小解决方法
    Android LayoutInflater详解
    Android开发之Intent.Action
    Android实现短信监听并且转发到指定的手机号,转发后不留痕
  • 原文地址:https://www.cnblogs.com/lizmy/p/2079620.html
Copyright © 2011-2022 走看看