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

code coverage does not consider functional tests

    XMLWordPrintable

Details

    • Improvement
    • Status: Open (View Workflow)
    • Trivial
    • Resolution: Unresolved
    • 3.1.3
    • 3.2.12-RC1
    • Test Suite
    • None
    • 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

            Unassigned Unassigned
            combuster combuster [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: