Workshop in English - UK at PHP North West 2017
Short URL: https://joind.in/talk/025e2 (QR-Code (opens in new window))
In this tutorial we will use Behat to perform end-to-end (E2E) tests. This is not a tutorial on BDD. However we will use some of the BDD principles to create our tests to test a PHP application. By the end of this tutorial you will know how to setup Behat for a new project, configure it for your project and use it with and without selenium to run client-side tests.
Comments are closed.
Great introduction to Behat with simple instructions and resources to follow along.
Antonis is a very patient teacher and spent with people individually making sure they were caught up.
The only improvement would be to email out the requirement of downloading JDK and Chrome Selenium extensions beforehand to avoid long downloads.
I felt this could have been more useful with some extra preparation:
- emailing out the requirements that need downloading
- doing a repo which had the actual code for the examples, with different branches for different stages (the repo supplied just had snippets in, so when individuals made mistakes, we lost a lot of time trying to fix people's code that could have been really quick if it was just a case of going to branch x in the example repo)
As a result, I felt like I was sat waiting or just trying stuff myself rather than being led at a faster pace through the subject matter.
Apart from that, it was an enjoyable talk with a very likeable teacher.
As mentioned in the other comments, sending out an email so we could prepare dependencies ahead of time would have been a good idea, as that would have avoided at least some of the running around solving people's problems during the session. The waiting delayed progress through the material and we didn't manage to cover all of it.
But overall a good introduction to Behat and I enjoyed the tutorial.