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

FormatterNotFoundException when updating feature step file

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Configure behat
      2. Add define("BEHAT_FEATURE_STEP_FILE", "/tmp/stepfile.json"); to config.php
      3. Run php admin/tool/behat/cli/util.php --updatesteps
      4. Make sure the behat step file is created and you don't get any error
      Show
      Configure behat Add define("BEHAT_FEATURE_STEP_FILE", "/tmp/stepfile.json"); to config.php Run php admin/tool/behat/cli/util.php --updatesteps Make sure the behat step file is created and you don't get any error
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64633-master

      Description

      Manually updating the  feature step file with the command

      php admin/tool/behat/cli/util.php --updatesteps

      does not work:

      [Behat\Testwork\Output\Exception\FormatterNotFoundException]
      'moodle_step_count' formatter is not found or has not been properly registered. Registered formatters: moodle_screenshot, moodle_list, moodle_stepcount, pretty, progress, junit, moodle_progress.
       

        Attachments

          Activity

            People

            Assignee:
            rdebleu Renaat Debleu
            Reporter:
            rdebleu Renaat Debleu
            Peer reviewer:
            Jake Dallimore Jake Dallimore
            Integrator:
            Andrew Lyons Andrew Lyons
            Tester:
            Andrew Lyons Andrew Lyons
            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:
              Resolved:
              Fix Release Date:
              11/Mar/19