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

Missing documentation for running unit tests

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Php with minimum required extensions and no libraries installed

      Description

      For the purposes of this ticket I am a phpbb user who wants to participate in development. In particular I see a request for help in to fix some failing test cases. I decided to run the test suite to see whether I can fix some of the failures.

      I see no documentation for how to run tests. I change to tests directory and see one php file in it. I run it.

      [code]
      pie@snap tests % php all_tests.php

      Warning: require_once(PHPUnit/Runner/Version.php): failed to open stream: No such file or directory in /home/pie/apps/phpbb3/tests/test_framework/framework.php on line 29

      Fatal error: require_once(): Failed opening required 'PHPUnit/Runner/Version.php' (include_path='.:/usr/local/share/pear') in /home/pie/apps/phpbb3/tests/test_framework/framework.php on line 29
      [/code]

      Actual result: error above

      Expected result: a readme file in tests directory explaining what prerequisite software I need to run the tests, and how to run the tests.

        Attachments

          Activity

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              Oleg Oleg [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: