Writing Tests for Drupal

Charlie Gordon erklärt das Schreiben von Tests für Drupal Module.

In this example, I will be testing Drupal’s ability to change the site-wide theme. I know how to test this manually - I would go to the admin/build/themes page, and select the radio button of a different default theme, and then make sure the theme had changed when I reload the page. In order to automate this test, I will simply write code to repeat the same actions I would have done manually.

Possibly related posts (automatically generated)