Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17192

Add support for phpunit3 coverage

    Details

    • Similar Issues:

      Description

      Please consider adding support for PHPUnit 3.x version, it's been available quite some time now, i doubt anyone is still using PHPUnit 2

        Attachments

          Activity

          Hide
          sogabe sogabe added a comment -

          PHPUnit3 has been already supported. You can use it with exec task in build.xml.

          CloverPHP plugin doe not support PHPunit2/3 task in phing build.xml.

          Show
          sogabe sogabe added a comment - PHPUnit3 has been already supported. You can use it with exec task in build.xml. CloverPHP plugin doe not support PHPunit2/3 task in phing build.xml.
          Hide
          gameshas Justinas Urbanavicius added a comment -

          I'm using phpunit task, phpunit2/3 tasks where deprecated.
          http://www.phing.info/docs/guide/stable/chapters/appendixes/AppendixC-OptionalTasks.html#PHPUnitTask

          NB: the identifiers phpunit2 (PHPUnit2Task) and phpunit3 (PHPUnit3Task) have been deprecated!

          Show
          gameshas Justinas Urbanavicius added a comment - I'm using phpunit task, phpunit2/3 tasks where deprecated. http://www.phing.info/docs/guide/stable/chapters/appendixes/AppendixC-OptionalTasks.html#PHPUnitTask NB: the identifiers phpunit2 (PHPUnit2Task) and phpunit3 (PHPUnit3Task) have been deprecated!
          Hide
          sogabe sogabe added a comment -

          use type attribute as follows.

             <phpunit printsummary="true" codecoverage="true">
                      <formatter todir="reports" type="clover" outfile="coverage.xml" />
          

          This plugin only parse clover-style coverage report.

          Show
          sogabe sogabe added a comment - use type attribute as follows. <phpunit printsummary= "true" codecoverage= "true" > <formatter todir= "reports" type= "clover" outfile= "coverage.xml" /> This plugin only parse clover-style coverage report.
          Hide
          gameshas Justinas Urbanavicius added a comment -

          that explains it, i had type set to xml: type"xml"

          Show
          gameshas Justinas Urbanavicius added a comment - that explains it, i had type set to xml: type"xml"

            People

            • Assignee:
              sogabe sogabe
              Reporter:
              gameshas Justinas Urbanavicius
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: