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

Step definitions regular expressions review

    XMLWordPrintable

    Details

      Description

      After checking admin/tool/behat/index.php I've seen that we are introducing new regular expressions without providing any info about what users are required to fill in the placeholders (https://docs.moodle.org/dev/Acceptance_testing#Providing_values_to_steps)

      Checking the new step definitions regex format is part of the check list: https://docs.moodle.org/dev/Acceptance_testing#Check_list

      Examples:

      • I select the text in the "([^"]*)" Atto editor
      • I choose options "(?:,"(?:[^"]|
        ")
        ")*) from "CHOICE_ACTIVITY_STRING" choice activity
      • ....

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dmonllao David Monllaó
              Peer reviewer:
              Frédéric Massart Frédéric Massart
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: