Custom Drupal Modules with SimpleTest Coverage

Custom Drupal Modules with SimpleTest Coverage

Recently I've been building custom Drupal modules with SimpleTest coverage. The modules use a web service API to transform data and bring it back into Drupal as custom entity types. The SimpleTest classes provide quality assurance through functional testing of the modules, forms, entities and API services. I've discovered I enjoy expanding the native capabilities of Drupal by integrating it with web services. SimpleTest is fun to work with once you get the hang of it. I feel better about applying frequent Drupal core updates knowing I can thoroughly test my modules on each new update.

Have you done any PHPUnit tests? Working with D8 now we're writing tons of PHPUnit tests.

Like
Reply

To view or add a comment, sign in

More articles by Patrick Moffitt

  • How I Hire Programmers

    There are many worthwhile attributes to consider when selecting a person to join your team as a programmer. A quick web…

    1 Comment
  • Web Developers Can Build Desktop Applications for Windows, Mac and Linux

    It used to be that developing desktop applications required a very different skillset than developing web applications.…

  • Kinetic Line

    I see an animated line inside a resizable box. To me the movement of the line is beautiful and the interaction between…

  • Change Agents Take Heart

    As a manager or some other kind of change-agent you know it can be frustratingly difficult to lead behavior change…

  • It’s the starting-way that matters most

    My sons were blessed to have the Yoda of all kindergarten teachers; Mrs. Tully.

  • Russian hacker drives hard bargain

    Link to BBC News Article I think this story illustrates how cost sensitive information thieves can be. They use…

Explore content categories