Use Drupal 8 functional testing with Drupal 7

PieterDC

Drupal 8 will make it easier to write automated tests with real browser capabilities, like JavaScript and CSS influenced visibility of page elements. Something Drupal 7 does not have out of the box. But websites don't have to migrate to Drupal 8 to use its functional testing best practices. Enjoy the future today.

We follow up on last year's session about The Future of Drupal Functional Testing but with a more hands-on session, applied to Drupal 7. 

In this session you'll learn about:

And how to combine them to do all the functional automated testing you need.

Also some advise on:

  • Which things to tests?
  • How much coverage you need?
  • How to ensure tests get written?
  • How to handle random failures?

Things we learned from working on automated test coverage (500+ tests) for the Paddle Drupal 7 distribution for 2 years now, and keeping an eye on how Drupal 8 plans to tackle that.

Related sessions

Session Track

Coding and Development

Experience Level

Advanced

Drupal Version