DrupalCon Amsterdam 2014: The Future of Drupal Functional Testing

58:16 · 29 Sep 2014 – 03 Oct 2014 · YouTube

About this talk

This talk explores the evolution of testing methodologies within Drupal, particularly the introduction of unit tests and acceptance tests during the Drupal 8 cycle, while highlighting the need for improved frontend testing for JavaScript. The speaker discusses the challenges faced with Drupal's legacy WebTestBase, which has become hard to maintain, and introduces Mink as a solution to enhance functional testing. By re-architecting WebTestBase on Mink, the speaker demonstrates how this approach can simplify code maintenance, improve JavaScript testing capabilities, and leverage existing, widely adopted libraries like Goutte and Guzzle to handle backend interactions more efficiently. Additionally, the talk envisions future developments with JavaScriptTestBase, utilizing drivers that support JavaScript testing, paving the way for a more robust testing framework within the Drupal ecosystem.

From event

DrupalCon Amsterdam - September 2014

29 Sep 2014 – 03 Oct 2014

All event videos
Back to Watch