Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6420

[test] Increase the method coverage rate for unit test

    Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0M12
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      I recently generated a coverage report for Harmony trunk and would like to contribute more test cases to increase the method coverage rate for it. Currently, these patches are made for the main modules as below. After applying these patches, the average method coverage rate for these modules can reach 90% above. I also attached the reports of the baseline and the result with patches.
      java.io
      java.lang
      java.lang.instrument
      java.lang.reflect
      javax.print.*
      java.net
      java.util
      javax.sql.*
      javax.acessibility

        Attachments

        1. baseline-report.zip
          2.85 MB
          Jim Yu
        2. Result-report.zip
          2.84 MB
          Jim Yu

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              junjie0122 Jim Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: