Automated Drupal testing
Automated testing is a good practice in software engineering, allowing easier development, easier refactoring and less debugging and mistakes.
Automated testing assists the testing process. The input is provided and assertions are made for the result. In Drupal, two kinds of automated tests can be distinguished: functional tests and unit tests.
In Functional testing user interaction is simulated and the functional specification of the system is verified.
In Unit testing input parameters and expected output are defined in advance. These tests are run several times during the software development. They ensure that the unit is working properly.
How to write automated Drupal tests?
In this article I tried to explain shortly the advantages and disadvantages of both Selenium and Simpletest testing modules. If you have any questions or comments, do not hesitate to contact me.