Chapters
23 Chapters
|
1:59:49
|
Login to bookmark this video
-
Course Code
Subscribe to download the code!Compatible PHP versions: >=5.4.0, <7.3.0
Subscribe to download the code!Compatible PHP versions: >=5.4.0, <7.3.0
-
This Video
Subscribe to download the video!
Subscribe to download the video!
-
Subtitles
Subscribe to download the subtitles!
Subscribe to download the subtitles!
-
Course Script
Subscribe to download the script!
Subscribe to download the script!
06.
Mink
Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
Subscribe to jump to this part in the video!
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
This tutorial uses a very old version of Symfony. The fundamentals of Behat are still valid, but integration with Symfony will be different.
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=5.4.0, <7.3.0",
"symfony/symfony": "^2.7", // v2.7.4
"twig/twig": "^1.22", // v1.22.1
"sensio/framework-extra-bundle": "^3.0", // v3.0.16
"doctrine/doctrine-bundle": "^1.5", // v1.5.1
"doctrine/orm": "^2.5", // v2.5.1
"doctrine/doctrine-fixtures-bundle": "^2.2", // v2.2.1
"behat/symfony2-extension": "^2.0" // v2.0.0
},
"require-dev": {
"behat/mink-extension": "^2.0", // v2.0.1
"behat/mink-goutte-driver": "^1.1", // v1.1.0
"behat/mink-selenium2-driver": "^1.2", // v1.2.0
"phpunit/phpunit": "^4.8" // 4.8.18
}
}
4 Comments
I don't see Autocomplete in sublime. Don't get correct suggestions while typing How can i enable that?
Hey Sumeet,
We don't use Sublime - it's just an advanced text editor but IDE. In our screencasts we use PhpStorm IDE. I found a Sublime text 2 plugin for Behat syntax highlighting on GitHub - looks like something you interested in: https://github.com/omissis/...
Cheers!
Thanks for replying Victor.
Syntax color highlighting looks good. But i meant autocompleting class methods and being able to use external classes like we could do in eclipse for Java with cmd shift O shortcut. Can it be done with sublime 3? Else, could you recommend an IDE not too costly. Is eclipse / Netbeans a better choice than sublime for PHP ?
Regards
Ah, sorry, my fault. This looks work for Behat autocompletion in Sublime, but I have not used it at all yet.: https://packagecontrol.io/p...
What about other IDEs - difficult to say, I don't use other IDEs besides PhpStorm a long time. But you can check out PhpStorm early access program - https://confluence.jetbrain... , it's a beta version, but free, just don't forget to upgrade it.
Cheers!
"Houston: no signs of life"
Start the conversation!