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

Allow functional and database tests to depend on (migrations of) extensions

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b2
    • Fix Version/s: 3.1.0-RC1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      This allows extensions to easily unit, database and functional test their code, reusing as much code from phpBB as possible:
      https://github.com/nickvergessen/phpbb-ext-acme-demo/pull/10 (Solution also depends on #2375 )

      It requires:

      • .travis.yml - To notify travis about the tests
      • travis/prepare-phpbb.sh - Moves the extension and clones phpbb
      • Adding the extension to the test file:

        	static protected function setup_extensions()
        	{
        		return array('acme/demo');
        	}
        

      /cc Matt Friedman

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling [X] (Inactive)
              Reporter:
              nickvergessen Joas Schilling [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: