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

Whitelist all files in includes for code coverage reports

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-a1
    • 3.1.0-dev
    • Test Suite
    • None

      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

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

              Created:
              Updated:
              Resolved: