Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8077691

Test plan for JImage utility

    XMLWordPrintable

Details

    Description

      The JImage utility is used to create, verify, list, or extract the contents of a jimage file.
      Testing of the jimage utility assumes functional testing of listed above jimage operations as well as base of various combinations of the command line options.

      Test inventory

      Existing tests:
      This is new tool in JDK 9. No existing tests.

      New tests:
      - tests for modes:
         - "extract"
         - "info"
         - "list"
         - "verify",
      - tests for options
         - "--help",
         - "--dir",
         - "--verbose"
         - "--include"
                            <glob-pattern>
                            glob:<glob-pattern>
                            regex:<regex-pattern>
         - "--version"
      - tests for options combinations (including no option, invalid option, invalid option combinations)

      Resources estimation

      Expected effort: 1 week Pessimistic effort: 2 weeks

      Success criteria

      Criteria Planned Status Result Comments
      # of new tests 10
      Options combinations coverage 100%
      Public API coverage 100%
      Block coverage of new code 100%. With exception for hard to reach code.
      Options coverage 100% all combinations of options are to be tested
      Test stability 2 runs with no failures make sure there are no intermittent failures. Java tool should be determined.
      Pass rate 100% makes sure the code is in a good shape

      Attachments

        Activity

          People

            anazarov Andrey Nazarov (Inactive)
            ogb Oleg Barbashov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: