Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13663

code coverage does not consider functional tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2.12-RC1
    • Component/s: Test Suite
    • Labels:
      None
    • Environment:
      PHP 5.5.15 on localhost. But adjusting travis to generate a clover report lacks the coverage of functional tests as well.

      Description

      Hi

      this:

      $ php phpBB/vendor/bin/phpunit -c phpBB/ext/me/myext/phpunit.xml.dist --filter "my_unit_test" --coverage-html ~/coverage

      generates a coverage report showing exactly the coverage of "my_unit_test". But this:

      $ php phpBB/vendor/bin/phpunit/phpunit -c phpBB/ext/me/myext/phpunit.xml.dist --group functional --coverage-html ~/coverage

      does not generate a coverage report for the tests in the functional group (which is 1, and I double checked that it is executed).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            combuster combuster
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: