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

Whitelist all files in includes for code coverage reports

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      Use PHPUnit's white listing feature[1] to load all files in includes for the code coverage report. If necessary skip files that can't be included without causing errors (e.g. because they depend on variables like $phpbb_root_path to be set).

      [1] http://www.phpunit.de/manual/3.2/en/appendixes.configuration.html#appendixes.configuration.blacklist-whitelist

        Attachments

          Activity

            People

            • Assignee:
              naderman Nils Adermann
              Reporter:
              naderman Nils Adermann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: