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

JavaTest CLI UserGuide describes incorrect format of excludeList command

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: jt4.1
    • Fix Version/s: jt4.1.4
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: