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

code coverage does not consider functional tests

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Invalid
    • 3.1.3
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: