Test all the things! Making use of Drupal 8’s new testing tools.
Sam152
With Drupal 8 released, one of the most important aspects of building a website or module has changed dramatically for the better. Developers now have a myriad of tools at their disposal to be able to test their code. If you are interested in improving your code and preventing bugs, but are unfamiliar with acronyms like BTB, KTB and WTB, this session is for you. If you’ve dabbled in testing but haven’t explored the depths of PHPUnit or Mink, then this session is for you.
In this session, participants will learn:
- Testing fundamentals, what types of tests you might write for different situations.
- A look at real world examples of test cases from Drupal 8 contrib.
- Knowledge about tools that strictly exist within Drupal core, ready for use out of the box.
- How to execute and run tests locally and on the Drupal testbot.
As a community, modern testing tools give us the opportunity to make Drupal 8 core and contrib the most stable, feature rich version of Drupal yet.