Proposed Session

Testing JavaScript and PHP with Behat and PhantomJS

Speaker(s)
Michelle Sanver
Level of expertise
Beginner
Session Type
Regular (45 min)
Track(s)
Coding & Development

Sometimes simple unit testing is not enough. There is more to it than that when you want to test JavaScript and the rendering of your page. In this talk I will show you how you can use Behat+Mink+PhantomJS and the Drupal behat extension to test your JavaScript implementations and your PHP code using the same human-readable language: Behat’s Gherkin.