Coder Social home page Coder Social logo

Add a getting starting chapter about docs HOT 5 OPEN

minkphp avatar minkphp commented on June 7, 2024
Add a getting starting chapter

from docs.

Comments (5)

jmauerhan avatar jmauerhan commented on June 7, 2024

This example should probably include that GoutteDriver no longer comes with Mink - After switching from Behat 2.5 to 3 on a new project it took me a while to figure out that the example on Mink's docs required yet another library that wasn't specified anywhere.

from docs.

stof avatar stof commented on June 7, 2024

@jmauerhan drivers have been extracted from Mink itself 4 years ago (in the Mink 1.4 release). So there is no point adding such upgrade mention in a doc written today. If you upgrade from a totally outdated version to an uptodate version, you should better read the changelog (and this is unrelated to the Behat version btw. Mink 1.7 can be used with Behat 2.5 too)

from docs.

jmauerhan avatar jmauerhan commented on June 7, 2024

@stof I'm sorry, I probably phrased it a little confusingly. What I meant was I had previously used Behat 2.5 and at the time I started learning it, it came with some drivers, maybe not Goutte. I approached setting up a new project using Behat and Mink from a clean slate, not upgrading.

Anyway, I found where on the main page of the docs it lists the different drivers with their package names - I think I just missed it the first time I read the page.

from docs.

stof avatar stof commented on June 7, 2024

What I meant was I had previously used Behat 2.5 and at the time I started learning it, it came with some drivers, maybe not Goutte.

That's not true:

  • Mink 1.4 was released 1 year before Behat 2.5. So you had drivers included automatically in your project only when using a version of Mink which was already unmaintained at that that (as it meant you were using Mink 1.3 or older)
  • behat 2.5 never came with Mink itself anyway. You always had to install Mink additionally, so the Behat version is unrelated

from docs.

jmauerhan avatar jmauerhan commented on June 7, 2024

shrug doesn't matter :) It was like 3 years ago that I started so probably remember it wrong. Could have been even older versions, who knows.

That wasn't exactly the point, and I clarified that I had found the section I was suggesting be added.

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.