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

Backport MDL-40672 - Behat data generator to add modules instances

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Pull the .feature file
        • git fetch git://github.com/dmonllao/moodle.git MDL-42324-kittiesslaughter
        • git cherry-pick 10650d7303c3779155b82736869848c8a3ea337f
      • Update the features files list
        • php admin/tool/behat/cli/util.php --enable
      • Run the tests
        • vendor/bin/behat...... with --tags @MDL-42324
      • You SHOULD see a list of failures
        • For each failure check if the module that is failing has a data generator (grep "extends testing_module_generator" mod/ -R), if it does not have it is good You SHOULD see an exception stating that, for this activity, you need to use another step instead of the current one
      Show
      Pull the .feature file git fetch git://github.com/dmonllao/moodle.git MDL-42324 -kittiesslaughter git cherry-pick 10650d7303c3779155b82736869848c8a3ea337f Update the features files list php admin/tool/behat/cli/util.php --enable Run the tests vendor/bin/behat...... with --tags @ MDL-42324 You SHOULD see a list of failures For each failure check if the module that is failing has a data generator ( grep "extends testing_module_generator" mod/ -R ), if it does not have it is good You SHOULD see an exception stating that, for this activity, you need to use another step instead of the current one
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:

      Description

      Probably .feature files integrated in future (what will also be backported) will use it in future

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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