TDD - Test-Driven Drupal: an introduction to automated testing and test-driven development in Drupal
About this talk
This talk from DrupalCon Lille 2023 emphasizes the critical role of testing in software development, particularly in the context of Drupal. The speaker discusses how testing allows developers to introduce new features and refactor code with confidence, minimizing the risk of regressions and reliance on manual testing. The session highlights the testing frameworks used in Drupal, such as SimpleTest in Drupal 7 and PHPUnit in Drupal 8 and beyond, illustrating how these tools facilitate code testing. Attendees will learn about the methodologies and terminology associated with automated testing, culminating in a hands-on, test-driven approach to creating a new Drupal module.