End-to-end testing with Behat

Antonis Pavlakis (29.Sep.2017 at 14:00, 3 hr 30 min)
Workshop at PHP North West 2017 (English - UK)

Rating: 3 of 5

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.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= four plus eight

Comments

Rating: 4 of 5

30.Sep.2017 at 11:56 by Ben Mallinson (6 comments) via Web2 LIVE

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.

Rating: 3 of 5

03.Oct.2017 at 07:30 by Iain Fogg (15 comments) via Web2 LIVE

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.

Rating: 3 of 5

03.Oct.2017 at 16:52 by Nicole (7 comments) via Web2 LIVE

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.

© Joind.in 2017