Details

    • Sprint:
      GSoC - Coding Phase 1
    • Similar Issues:

      Description

      It would be nice to have some tests that cover some simple scenarios:

      • Default behavior "best case" test.
      • If there is no coverage report file.
      • If there is a coverage file, but it's empty.
      • A large coverage file (several hundred MB in size. Would need to probably zip the file).

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Shengyu Zheng
          Path:
          src/main/java/io/jenkins/plugins/coverage/CoverageProcessor.java
          src/test/java/io/jenkins/plugins/coverage/CoverageCornerCaseTest.java
          src/test/java/io/jenkins/plugins/coverage/CoveragePublisherPipelineTest.java
          src/test/java/io/jenkins/plugins/coverage/CoverageScriptedPipelineScriptBuilder.java
          http://jenkins-ci.org/commit/code-coverage-api-plugin/898a0837983db56db5b4965042e69779af6950e2
          Log:
          JENKINS-51611 Add several tests

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Shengyu Zheng Path: src/main/java/io/jenkins/plugins/coverage/CoverageProcessor.java src/test/java/io/jenkins/plugins/coverage/CoverageCornerCaseTest.java src/test/java/io/jenkins/plugins/coverage/CoveragePublisherPipelineTest.java src/test/java/io/jenkins/plugins/coverage/CoverageScriptedPipelineScriptBuilder.java http://jenkins-ci.org/commit/code-coverage-api-plugin/898a0837983db56db5b4965042e69779af6950e2 Log: JENKINS-51611 Add several tests
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ShenYu Zheng
          Path:
          src/main/java/io/jenkins/plugins/coverage/CoverageProcessor.java
          src/test/java/io/jenkins/plugins/coverage/CoverageCornerCaseTest.java
          src/test/java/io/jenkins/plugins/coverage/CoveragePublisherPipelineTest.java
          src/test/java/io/jenkins/plugins/coverage/CoverageScriptedPipelineScriptBuilder.java
          http://jenkins-ci.org/commit/code-coverage-api-plugin/cc5a5192b111d8437a0570bac1bfdaa69015a868
          Log:
          Merge pull request #10 from cizezsy/corner-case

          JENKINS-51611 Add several tests

          Compare: https://github.com/jenkinsci/code-coverage-api-plugin/compare/a4f7c8190def...cc5a5192b111
          *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

          Functionality will be removed from GitHub.com on January 31st, 2019.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ShenYu Zheng Path: src/main/java/io/jenkins/plugins/coverage/CoverageProcessor.java src/test/java/io/jenkins/plugins/coverage/CoverageCornerCaseTest.java src/test/java/io/jenkins/plugins/coverage/CoveragePublisherPipelineTest.java src/test/java/io/jenkins/plugins/coverage/CoverageScriptedPipelineScriptBuilder.java http://jenkins-ci.org/commit/code-coverage-api-plugin/cc5a5192b111d8437a0570bac1bfdaa69015a868 Log: Merge pull request #10 from cizezsy/corner-case JENKINS-51611 Add several tests Compare: https://github.com/jenkinsci/code-coverage-api-plugin/compare/a4f7c8190def...cc5a5192b111 * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.

            People

            • Assignee:
              cizezsy Shenyu Zheng
              Reporter:
              schristou Steven Christou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: