Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13663

code coverage does not consider functional tests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Invalid
    • Icon: Trivial Trivial
    • None
    • 3.1.3
    • 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.

      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).

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

              Created:
              Updated:
              Resolved: