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

Get rid of hardcoded references to Acceptance test site

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      You need PHP 5.4 to run this test

      1. Install/update and enable your behat test site
      2. Start selenium
      3. Start your built-in web server if you are using it
      4. Run behat
      5. You SHOULD see successes (green points in the CLI) stop it after 1 minute or so
      6. If you was using $CFG->behat_switchcompletely = true; comment the line
      7. Stop the built-in web server if you was using it and start it in another directory like $HOME for example or /var/www
      8. Run behat
      9. You SHOULD see an exception stating something like The base URL (http://localhost:8000) is not a behat test site, ensure you started the built-in web server in the correct directory or your web server is correctly started and set up
      1. Run all behat tests (it should be running in the CI server so check http://integration.moodle.org and if it is passing there pass it)
      Show
      You need PHP 5.4 to run this test Install/update and enable your behat test site Start selenium Start your built-in web server if you are using it Run behat You SHOULD see successes (green points in the CLI) stop it after 1 minute or so If you was using $CFG->behat_switchcompletely = true; comment the line Stop the built-in web server if you was using it and start it in another directory like $HOME for example or /var/www Run behat You SHOULD see an exception stating something like The base URL ( http://localhost:8000 ) is not a behat test site, ensure you started the built-in web server in the correct directory or your web server is correctly started and set up Run all behat tests (it should be running in the CI server so check http://integration.moodle.org and if it is passing there pass it)
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41587_master

      Description

      My eyes burns every time I see "Acceptance test site" inside the codebase, I got 5 with a grep and 3 of them can use a constant. Marking as a bug because I'm thinking with the heart, if we should think 100% with the brain I would switch it to improvement.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/13