Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39481

Point to admin/tool/behat/cli/init.php instead of util.php when providing info about test site install/reinstall

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Install or update your behat test environment
      2. Edit version.php and change the version to 2013060200
      3. Run behat
      4. You SHOULD see a message stating that your behat test site is outdated, and to run admin/tool/behat/cli/init.php, not admin/tool/behat/cli/util.php
      5. Run php admin/tool/behat/cli/util.php --enable
      6. You SHOULD see a message stating that you must reinstall behat, and to run admin/tool/behat/cli/init.php, not admin/tool/behat/cli/util.php
      7. Restore the original version.php
      Show
      Install or update your behat test environment Edit version.php and change the version to 2013060200 Run behat You SHOULD see a message stating that your behat test site is outdated, and to run admin/tool/behat/cli/init.php, not admin/tool/behat/cli/util.php Run php admin/tool/behat/cli/util.php --enable You SHOULD see a message stating that you must reinstall behat, and to run admin/tool/behat/cli/init.php, not admin/tool/behat/cli/util.php Restore the original version.php
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39481_master

      Description

      There are two CLI scripts to manage the behat test environment. init.php should be used in the info messages as the script to run, is more simple and it also updates the dependencies specified though composer.

      With the current messages users can have trouble if they reinstall the site using util.php --drop and util.php --install, as there can be changes in https://github.com/moodlehq/moodle-behat-extension project and they must be pulled according the moodle codebase changes.

        Attachments

          Activity

            People

            Assignee:
            dmonllao David Monllaó
            Reporter:
            dmonllao David Monllaó
            Integrator:
            Sam Hemelryk
            Tester:
            Sam Hemelryk
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/May/13