SimpleTest

(( gitHubWatchers )) (( gitHubStars )) (( gitHubForks ))

SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.

Users of JUnit will be familiar with most of the interface. The JWebUnit style functionality is more complete now. It has support for SSL, forms, frames, proxies and basic authentication. The idea is that common but fiddly PHP tasks, such as logging into a site, can be tested easily.

Installation

Install from a Composer package as a dev dependency (with Composer)

Make sure you have Composer installed.

Require it as a dev dependency:
composer require --dev simpletest/simpletest
Run it:
php vendor/bin/simpletest