← Back to team overview

mahara-contributors team mailing list archive

[Bug 1424862] [NEW] Use the stable version of behat and its components

 

Public bug reported:

Version: master (15.04)

Currently, behat is installed via Composer and it will be updated before running the tests.
It would be better to fix the stable version of behat and its components to prevent some issues when updating it, e.g. deprecated methods.

For mahara 15.04, I'd set the dependencies in composer.json:

{
    "require": {
        "php": ">=5.3.1",
        "behat/behat": "2.5.4",
        "behat/mink": "1.6.0",

        "behat/mink-extension": "*",

        "behat/mink-goutte-driver": "*",
        "behat/mink-selenium2-driver": "*",
        "fabpot/goutte": "~1.0"
    }
}

** Affects: mahara
     Importance: Undecided
     Assignee: Son Nguyen (ngson2000)
         Status: Confirmed


** Tags: behat

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1424862

Title:
  Use the stable version of behat and its components

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Version: master (15.04)

  Currently, behat is installed via Composer and it will be updated before running the tests.
  It would be better to fix the stable version of behat and its components to prevent some issues when updating it, e.g. deprecated methods.

  For mahara 15.04, I'd set the dependencies in composer.json:

  {
      "require": {
          "php": ">=5.3.1",
          "behat/behat": "2.5.4",
          "behat/mink": "1.6.0",

          "behat/mink-extension": "*",

          "behat/mink-goutte-driver": "*",
          "behat/mink-selenium2-driver": "*",
          "fabpot/goutte": "~1.0"
      }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1424862/+subscriptions


Follow ups

References