Release Day: Testing in Drupal 8

Image

For a lot of developers, myself included, testing your Drupal code can be a bit of an afterthought. Today we're happy to announce the release of a series of tutorials that might change how you feel about that.

Our guide to Automated Testing in Drupal 8 was largely written by Paul Mitchum. Paul (Mile23 on drupal.org) has done work on Drupal's continuous integration project, is an active core contributor, and is one of the maintainers of the Examples project among his other roles.

This set of tutorials starts with helping explain why testing is a good idea in the first place and then takes a look at the different types of tests that ship with Drupal core and the various frameworks that makes those tests possible. After that bit of groundwork orientation is done we'll learn how test files are organized in the Drupal codebase and how we can run existing tests using a few different methods. Once we know how to execute our test suite, we'll dig into implementation examples for functional and unit tests.

Here is the full list of tutorials in our guide to Testing in Drupal 8:

Coming soon, we'll have more Docker tutorials!

Add new comment

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code class> <ul type> <ol start type> <li> <dl> <dt> <dd><h3 id> <p>
  • Lines and paragraphs break automatically.

About us

Drupalize.Me is the best resource for learning Drupal online. We have an extensive library covering multiple versions of Drupal and we are the most accurate and up-to-date Drupal resource. Learn more