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

Bump to Behat 3.8.x

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MDL-70879_311
    • Hide

      Requirements:

      • composer 2.x should be used.
      • Ideally, the php version being used to run the composer commands below should be the lowest allowed for every branch (php72 for 39 and 310, php73 for 311 and master).

      Steps:

      1. Remove vendor & composer.lock: rm -fr vendor composer.lock
      2. Clear composer caches: composer clearcache
      3. Install: composer install
      4. Verify that a new composer.lock file has been created.
      5. Verify that it's the same (using git diff) that the included in this patch (some minor versions / dates differences are allowed).
      6. Run vendor/bin/behat --version
      7. Verify that "behat 3.8.1" is the version installed.

      Apart from this, automated test will tell us if everything is ok.

      Show
      Requirements: composer 2.x should be used. Ideally, the php version being used to run the composer commands below should be the lowest allowed for every branch (php72 for 39 and 310, php73 for 311 and master). Steps: Remove vendor & composer.lock: rm -fr vendor composer.lock Clear composer caches: composer clearcache Install: composer install Verify that a new composer.lock file has been created. Verify that it's the same (using git diff ) that the included in this patch (some minor versions / dates differences are allowed). Run vendor/bin/behat --version Verify that "behat 3.8.1" is the version installed. Apart from this, automated test will tell us if everything is ok.

    Description

      In order to support PHP 8.x (and other bugfixes) we need to bump from currently used Behat 3.6.x to 3.8.x

      This is required for 311_STABLE and master (behat won't run without it) and could be considered for 39_STABLE and 310_STABLE too.

      Going to generate them following the steps in the docs, without tagging yet to get some runs on them performed.

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Victor Déniz Falcón Victor Déniz Falcón
              Andrew Lyons Andrew Lyons
              Janelle Barcega Janelle Barcega
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Mar/21

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 20 minutes
                  3h 20m