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

No need to load classes and check for environment for each suite

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Initialise behat with --run-with-theme (Refer docs)
      2. run behat whole suite and ensure it passes with both more and default theme. ( Refer docs)

      NOTE: Any failure found might be random, so rerun to ensure it is random.

      Show
      Initialise behat with --run-with-theme (Refer docs ) run behat whole suite and ensure it passes with both more and default theme. ( Refer docs ) NOTE: Any failure found might be random, so rerun to ensure it is random.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      wip-mdl-55879

      Description

      BeforeSuite hook do following:

      1. Include core files
      2. Check for test enviornment
      3. Check server status
      4. reset all data
      5. set ticks (for php7)

      Except data reset none of the above is really needed and should not be done for each suite. As data reset is done before each scenario, this can also be avoided.

        Attachments

          Activity

            People

            Assignee:
            rajeshtaneja Rajesh Taneja
            Reporter:
            rajeshtaneja Rajesh Taneja
            Peer reviewer:
            Adrian Greeve
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            CiBoT
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Dec/16