O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we have learned about unit testing, web or functional testing with the SimpleTest framework, and how to write tests for own custom Drupal code. To learn even more about what you can and can't do with SimpleTest test cases in Drupal, I recommend reading through the SimpleTest source code, specifically the classes defined in the drupal_web_test_case.php file. The code is very well documented, and available in any Drupal 7 install.

In the next chapter, we are going to take a look at another useful tool for developing and managing configuration between sites—the Features module.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required