Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6588391

JavaTest CLI UserGuide describes incorrect format of excludeList command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jt4.1.4
    • jt4.1
    • tools
    • b01
    • x86
    • windows_xp
    • Verified

      JavaTest CLI UserGuide describes incorrect format of excludeList command:
      CLI UserGuide, p29 says:
      "Test suites can supply exclude list files which contain the list of tests that the
      harness is not required to run. Exclude list files conventionally use a .jtx
      extension. Once you have set up a configuration, you can use an excludeList
      command to specify the exclude list for your test run:
      > javatest ... [initial-setup-commands] ... -excludeList path/filename ... [taskcommand]
      ...
      The -excludeList path/filename command can be used multiple times to specify
      multiple exclude lists for a test run.
      See About the Command-Line Examples"

      In case if user use excludeList command multiple times to specify multiple exclude lists only last command will affect test execuiton.
      Example: javatest ... [initial-setup-commands] ... -excludeList aaaa.jtx -excludeList bbb.jtx -excludeList ccc.jtx... [taskcommand]
      Only last exclude list (ccc.jtx) will affect test execution

      Correct format of this command is:
      javatest ... [initial-setup-commands] ... -excludeList path/filename1 path/filename2 ... [taskcommand]
      In this case to set multiple exclude list user should mention 3 files with blank space as delimiter
      Example: To achive goal of first example correct command will be:
      javatest ... [initial-setup-commands] ... -excludeList aaaa.jtx bbb.jtx ccc.jtx... [taskcommand]
      In this case all three exclude lists will affect test exectuion

            dawphill Dawn Phillips (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: