If you need to write Simpletest test classes for your module, this article can help you.

First of all, when I began to learn the Web testing with drupal Simpletest module, I didn't know the very interesting thing: almost every assertion is implemented by $this->xpath method!
Indeed, you can check the full list of available testing functions with their code here:
If you...