Dr. Strangetest

Or: How I Learned To Stop Worrying And Test The Code

A testing framework for PHP

Welcome to Dr. Strangetest's user manual. Everything you might want to know (and perhaps then some) are contained within these pages.

Contents

  1. Getting Started walks you through getting Dr. Strangetest installed onto your system.

  2. Running Tests describes how to select and run your tests on the command line, as well as how Dr. Strangetest configures PHP to ensure your tests run properly.

  3. Writing Tests covers how to write tests and some of Dr. Strangetest's more advanced testing features.

  4. Test Fixtures explains how to manage your test state and provide it to your tests.

  5. Assertions discusses PHP's assert, Dr. Strangetest's assertions, and writing your own assertions.