OUTDATED: Unit testing vs. browser testing

There are many different tools in the Simpletest framework; however we focused on two: browser and unit tests. Both are very useful during various stages of application development.

If you want to test a new module which doesn't contain a user interface yet, unit tests are the best option. You can quickly check if our code is valid before the whole application is finished.

After your module has been written, it is essential to test the user experience. At this stage, the best solution is testing with browser tests.

 
 

Drupal is a registered trademark of Dries Buytaert.